EventType

Types of Google Chat app interaction events.

For details and examples of interactive event payloads, see Types of Google Chat app interaction events.

In addition to receiving events from user interactions, Chat apps can receive events about changes to spaces, such as when a new member is added to a space. To learn about space events, see Work with events from Google Chat.

Enums
UNSPECIFIED Default value for the enum. DO NOT USE.
MESSAGE A user sends the Chat app a message, or invokes the Chat app in a space.
ADDED_TO_SPACE A user adds the Chat app to a space, or a Google Workspace administrator installs the Chat app in direct message spaces for users in their organization.
REMOVED_FROM_SPACE A user removes the Chat app from a space.
CARD_CLICKED

A user clicks an interactive element of a card or dialog from a Chat app, such as a button.

If a user interacts with a dialog, the CARD_CLICKED interaction event's isDialogEvent field is set to true and includes a DialogEventType.

WIDGET_UPDATED A user updates a widget in a card message or dialog.
APP_HOME

A user opens a direct message from a Chat app. Only the type, user, and space fields are included for events of this type. For more information, see Send an app home card message for a Google Chat app.

SUBMIT_FORM

A user submits form information in a card message. Only the type, user, and space fields are included for events of this type. For more information, see Send an app home card message for a Google Chat app.