Google Chat events.
JSON representation | |
---|---|
{ "type": enum ( |
Fields | |
---|---|
type |
The type of the event. |
eventTime |
The timestamp indicating when the event was dispatched. |
token |
A secret value that bots can use to verify if a request is from Google. The token is randomly generated by Google, remains static, and can be obtained from the Google Chat API configuration page in the Cloud Console. Developers can revoke/regenerate it if needed from the same page. |
threadKey |
The bot-defined key for the thread related to the event. See the |
message |
The message that triggered the event, if applicable. |
user |
The user that triggered the event. |
space |
The room or DM in which the event occurred. |
action |
The form action data associated with an interactive card that was clicked. Only populated for |
configCompleteRedirectUrl |
The URL the bot should redirect the user to after they have completed an authorization or configuration flow outside of Google Chat. See the Authorizing access to 3p services guide for more information. |