Reference documentation and code samples for the Google Apps Chat V1 Client class DisplayStyle.
In Google Workspace Add-ons, determines how a card is displayed.
Protobuf type google.apps.card.v1.Card.DisplayStyle
Namespace
Google \ Apps \ Card \ V1 \ CardMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
DISPLAY_STYLE_UNSPECIFIED
Value: 0
Don't use. Unspecified.
Generated from protobuf enum DISPLAY_STYLE_UNSPECIFIED = 0;
PEEK
Value: 1
The header of the card appears at the bottom of the sidebar, partially covering the current top card of the stack. Clicking the header pops the card into the card stack. If the card has no header, a generated header is used instead.
Generated from protobuf enum PEEK = 1;
REPLACE
Value: 2
Default value. The card is shown by replacing the view of the top card in the card stack.
Generated from protobuf enum REPLACE = 2;