Reference documentation and code samples for the Google Apps Chat V1 Client class Type.
Optional. The type
of a button. If color
field is set, the type
is forced to FILLED
.
Protobuf type google.apps.card.v1.Button.Type
Namespace
Google \ Apps \ Card \ V1 \ ButtonMethods
static::name
value
mixed
static::value
name
mixed
Constants
TYPE_UNSPECIFIED
Value: 0
Don't use. Unspecified.
Generated from protobuf enum TYPE_UNSPECIFIED = 0;
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.
Generated from protobuf enum OUTLINED = 1;
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.
Generated from protobuf enum FILLED = 2;
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.
Generated from protobuf enum FILLED_TONAL = 3;
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.
Generated from protobuf enum BORDERLESS = 4;

