Enum ActionResponse.ResponseType (0.7.0)

public enum ActionResponse.ResponseType extends Enum<ActionResponse.ResponseType> implements ProtocolMessageEnum

The type of Chat app response.

Protobuf enum google.chat.v1.ActionResponse.ResponseType

Implements

ProtocolMessageEnum

Static Fields

Name Description
DIALOG

Presents a dialog.

DIALOG = 4;

DIALOG_VALUE

Presents a dialog.

DIALOG = 4;

NEW_MESSAGE

Post as a new message in the topic.

NEW_MESSAGE = 1;

NEW_MESSAGE_VALUE

Post as a new message in the topic.

NEW_MESSAGE = 1;

REQUEST_CONFIG

Privately ask the user for additional authentication or configuration.

REQUEST_CONFIG = 3;

REQUEST_CONFIG_VALUE

Privately ask the user for additional authentication or configuration.

REQUEST_CONFIG = 3;

TYPE_UNSPECIFIED

Default type that's handled as NEW_MESSAGE.

TYPE_UNSPECIFIED = 0;

TYPE_UNSPECIFIED_VALUE

Default type that's handled as NEW_MESSAGE.

TYPE_UNSPECIFIED = 0;

UNRECOGNIZED
UPDATE_MESSAGE

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

UPDATE_MESSAGE = 2;

UPDATE_MESSAGE_VALUE

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

UPDATE_MESSAGE = 2;

UPDATE_USER_MESSAGE_CARDS

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.

UPDATE_USER_MESSAGE_CARDS = 6;

UPDATE_USER_MESSAGE_CARDS_VALUE

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.

UPDATE_USER_MESSAGE_CARDS = 6;

UPDATE_WIDGET

Widget text autocomplete options query.

UPDATE_WIDGET = 7;

UPDATE_WIDGET_VALUE

Widget text autocomplete options query.

UPDATE_WIDGET = 7;

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()