Messaging System: Message Contexts
A context describes who or what receives the message. You won’t see the word context much in the UI for messages because the labels for contexts are dynamic and are defined by message types (but can also be overridden by messengers). When defined by the system, they will take on a label that more accurately describes the intent. For instance, with all the current message types in the system, there are up to three contexts available (which are labeled recipients in the UI): event admin, primary registrant, and registrant. The purpose of the context is to empower you to be more granular in the messages you send out.
As an example, for the Registration Approved message type, the event admin may receive summary details of the registration that was approved, whereas the primary registrant will receive information pertaining to the whole group registered, and the registrant just receives details on their specific registration for the event.
Keep in mind that the number of contexts available per message type and messenger combination is variable depending on how they’ve been designed by us (or the third-party plugin for the messages system). For instance, we didn’t include the registrant context with any of the payment message types because it's really only the primary registrant (the one who completed the registration) who is concerned with paying for the tickets.
When editing message templates, it is important to keep these contexts in mind, see Working with message contexts.