Enum ResponseType

Response Type

An enum that represents the type of Chat app response.

Only available for Google Chat apps. Not available for Google Workspace add-ons.

To call an enum, you call its parent class, name, and property. For example, CardService.Type.DIALOG .

Properties

Property Type Description
TYPE_UNSPECIFIED
Enum Default type that's handled as NEW_MESSAGE .
NEW_MESSAGE
Enum Post as a new message in the topic.
UPDATE_MESSAGE
Enum Update the Chat app's message. This is only permitted on a CARD_CLICKED event where the message sender type is BOT .
UPDATE_USER_MESSAGE_CARDS
Enum Update the cards on a user's message. This is only permitted as a response to a MESSAGE event with a matched URL, or a CARD_CLICKED event where the message sender type is HUMAN . Text is ignored.
REQUEST_CONFIG
Enum Privately ask the user for additional authentication or configuration.
DIALOG
Enum Presents a dialog.
UPDATE_WIDGET
Enum Widget text autocomplete options query.
Design a Mobile Site
View Site in Mobile | Classic
Share by: