Google Chat V1 API - Module Google::Apps::Card::V1::Button::Type (v0.18.0)

Reference documentation and code samples for the Google Chat V1 API module Google::Apps::Card::V1::Button::Type.

Optional. The type of a button. If color field is set, the type is forced to FILLED.

Google Chat apps:

Constants

TYPE_UNSPECIFIED

value: 0
Don't use. Unspecified.

OUTLINED

value: 1
Outlined buttons are medium-emphasis buttons. They usually contain actions that are important, but aren’t the primary action in a Chat app or an add-on.

FILLED

value: 2
A filled button has a container with a solid color. It has the most visual impact and is recommended for the important and primary action in a Chat app or an add-on.

FILLED_TONAL

value: 3
A filled tonal button is an alternative middle ground between filled and outlined buttons. They’re useful in contexts where a lower-priority button requires slightly more emphasis than an outline button would give.

BORDERLESS

value: 4
A button does not have an invisible container in its default state. It is often used for the lowest priority actions, especially when presenting multiple options.