Reference documentation and code samples for the Google Apps Chat V1 Client class Type.
How a text input field appears in the user interface. For example,
whether it's a single line input field, or a multi-line input. If
initialSuggestions
is specified, type
is always SINGLE_LINE
,
even if it's set to MULTIPLE_LINE
.
Google Workspace Add-ons and Chat apps:
Protobuf type google.apps.card.v1.TextInput.Type
Namespace
Google \ Apps \ Card \ V1 \ TextInputMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
SINGLE_LINE
Value: 0
The text input field has a fixed height of one line.
Generated from protobuf enum SINGLE_LINE = 0;
MULTIPLE_LINE
Value: 1
The text input field has a fixed height of multiple lines.
Generated from protobuf enum MULTIPLE_LINE = 1;