An event that occurred when an agent's launch status is changed.
The AgentLaunchEvent appears in the "data" field of the "message" object that the agent receives from its Pub/Sub subscription. The "data" field is a base64-encoded string that the agent must decode to match the PartnerEvent structure.
JSON representation |
---|
{ "eventId": string, "agentId": string, "botDisplayName": string, "brandId": string, "brandDisplayName": string, "regionId": string, "oldLaunchState": enum ( |
Fields | |
---|---|
eventId |
A unique event ID assigned for the event instance. |
agentId |
The agent's unique identifier. Set by RCS Business Messaging. |
botDisplayName |
The agent's display name. |
brandId |
The brand's unique identifier. |
brandDisplayName |
The brand's display name. |
regionId |
The identifier for the region where the agent's launch is changed. Format: "/v1/regions/{regionId}". For example, "/v1/regions/fi-rcs". |
oldLaunchState |
Output only. New type of the launch state. |
newLaunchState |
Output only. Current type of the launch state. |
actingParty |
Acting party. |
comment |
Change comment. |
sendTime |
Output only. Time at which the server sends the event. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |