Reference documentation and code samples for the Google Apps Chat V1 Client class Validation.
Represents the necessary data for validating the widget it's attached to.
Google Workspace add-ons and Chat apps :
Generated from protobuf message google.apps.card.v1.Validation
Namespace
Google \ Apps \ Card \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ character_limit
int
Specify the character limit for text input widgets. Note that this is only used for text input and is ignored for other widgets. Google Workspace add-ons and Chat apps :
↳ input_type
getCharacterLimit
Specify the character limit for text input widgets. Note that this is only used for text input and is ignored for other widgets.
int
setCharacterLimit
Specify the character limit for text input widgets. Note that this is only used for text input and is ignored for other widgets.
var
int
$this
getInputType
Specify the type of the input widgets.
setInputType
Specify the type of the input widgets.
$this

