Stay organized with collections
Save and categorize content based on your preferences.
An event that occurred on the user's RCS client and was related to a conversation with the agent.
For instance, an event can indicate that the user is typing or that an earlier message from the agent was read by the user.
The UserEvent appears in the "data" field of the "message" object that the agent receives from its Google Pub/Sub subscription. The "data" field is a base64-encoded string that the agent must decode to match the UserEvent structure.
A unique event ID, assigned by the sending user's RCS client.
messageId
string
The ID of the message that is associated with the event. For example, a message that was delivered to the user's RCS client or read by the user. This field is populated for DELIVERED and READ events.
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: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
agentId
string
The agent's unique identifier. Set by RCS Business Messaging.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["UserEvents indicate user actions within an RCS conversation with an agent, such as typing or reading a message."],["These events are transmitted to the agent within the base64-encoded \"data\" field of the \"message\" object from Google Pub/Sub."],["The UserEvent structure includes details like `senderPhoneNumber`, `eventType`, `eventId`, `messageId`, `sendTime`, and `agentId`."],["`messageId` specifies the message associated with the event, which is only populated for DELIVERED and READ event types."],["The `sendTime` field details when the event occurred, formatted according to RFC 3339."]]],[]]