Real-Time Events
The following events are returned when reading from a real time messages and events from the datafeed:
All events follow the structure below:
id: A randomly generated ID for the event, distinct from the ID of the message or chatroom or other objects that the event pertains to. These IDs are unique, except in the situation where two activities are performed simultaneously in the Symphony Messaging client (for example, members are added during the creation of a room). In this case, the two associated events will share the same id. This is for Symphony Messaging internal use.timestamp: The timestamp for when the event occurred in Unix timestamp milliseconds format. For certain events, this will be equivalent to the created timestamp of the object the event pertains to (for instance, room creation timestamp).type: The type of event that occurred (for instance, a "MessageSent" or "RoomCreated" event).initiator: The actor that initiated the event. Currently, initiator will always be a user. The initiator user may be distinct from the affected user (for instance, when one user adds another user to a chatroom).payload: An object containing event-specific information that is keyed off the event type.
Message Sent
Generated when a message is sent in an 1-1 chat or chatroom of which the user in context is a member, including messages sent by the user him/herself.
Events attributes details:
version: version of the message payload, set when the message was createdmessage: the message itselfattachments: list of attachments to the message, not present if there are no attachmentsuser: author of the messageexternalRecipients: indicates whether that message is sent to external users.false: the message was only sent to users internal to the company.true: the message was sent to at least one user outside of the company.
stream: stream the message was posted into.streamId: identifier for the stream.streamType: stream type can beROOM,IM (1-1 chat),MIM (deprecated), orPOST.
data: JSON structure contained inside an escaped string, NOT an actual JSON structure.
Messages Suppressed
Generated when messages are suppressed:
Symphony Messaging Elements Action
Generated when a user replies to a bot message that contains an interactive form with UX components such as text fields, radio buttons, checkboxes, person selectors and more. Please refer to Symphony Messaging Elements for more information.
Shared Wall Posts
Generated when either:
The user in context shares a wall post written by another user.
Another user shares a wall post written by the user in context.
IM Created
Generated when an IM (1-1 chat) is created with the user in context as a member, initiated either by the user in context or another user:
Room Created
Generated when a room is created by the user in context:
Room Updated Message
Generated when a room of which the user in context is a member is updated, including rooms updated by the user him/herself:
Room Deactivated Message
Generated when a room of which the user in context is a member is deactivated, including rooms deactivated by the user him/herself:
Room Reactivated Message
Generated when a room of which the user in context is a member is reactivated, including rooms reactivated by the user him/herself:
User Requested to Join Room
Generated when a user requests to join a room. Only the user who requested to join the room and the owners of that room will receive this event on their datafeeds.
The affectedUsers attribute represents the owners of the room.
Available in Agent 2.56.0.
User Joined Room
Generated when a new user joins or is added to a room of which the user in context is a member, including when the user himself joins or is added to a room.:
User Left Room
Generated when a user leaves or is removed from a room of which the user in context is a member, including when the user himself leaves or is removed from a room:
Room Member Promoted to Owner
Generated when a user is promoted from a participant to an owner of a room of which the user in context is a member, including when the user himself is promoted to an owner or promotes another user.:
Room Member Demoted from Owner
Generated when a user is demoted from an owner to a participant of a room of which the user in context is a member, including when the user himself is demoted to a participant or demotes another user:
Connection Requested
Generated when a connection request is sent, either:
Sent by the user in context to another user.
Sent to the user in context by another user.
Connection Accepted
Generated when a connection request is accepted, either:
Sent by the user in context and accepted by another user.
Sent by another user and accepted by the user in context.
Generic System Event
Generic System Event is a new category of generic real time event, that is generated in various situations, such as phone calls, events specific to federated chats, and more.
The event is generic, and its structure depends on the event's subtype (genericSystemEvent.eventSubtype).
Most generic events are related to internal processes and are not useful for Bots, so you can just ignore them. When Symphony introduces events that can be relevant to Bots, they will be documented in this page.
The common structure to all Generic System Events is described below. The parameters section will vary depending on the subtype of the event.
Last updated
Was this helpful?