Google Apps Chat V1 Client - Class ResponseType (0.1.4)

Reference documentation and code samples for the Google Apps Chat V1 Client class ResponseType.

The type of Chat app response.

Protobuf type google.chat.v1.ActionResponse.ResponseType

Namespace

Google \ Apps \ Chat \ V1 \ ActionResponse

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

TYPE_UNSPECIFIED

Value: 0

Default type that's handled as NEW_MESSAGE.

Generated from protobuf enum TYPE_UNSPECIFIED = 0;

NEW_MESSAGE

Value: 1

Post as a new message in the topic.

Generated from protobuf enum NEW_MESSAGE = 1;

UPDATE_MESSAGE

Value: 2

Update the Chat app's message. This is only permitted on a CARD_CLICKED event where the message sender type is BOT.

Generated from protobuf enum UPDATE_MESSAGE = 2;

UPDATE_USER_MESSAGE_CARDS

Value: 6

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.

Generated from protobuf enum UPDATE_USER_MESSAGE_CARDS = 6;

REQUEST_CONFIG

Value: 3

Privately ask the user for additional authentication or configuration.

Generated from protobuf enum REQUEST_CONFIG = 3;

DIALOG

Value: 4

Presents a dialog.

Generated from protobuf enum DIALOG = 4;

UPDATE_WIDGET

Value: 7

Widget text autocomplete options query.

Generated from protobuf enum UPDATE_WIDGET = 7;