Reference documentation and code samples for the Google Apps Chat V1 Client class DialogAction.
Contains a dialog and request status code.
Generated from protobuf message google.chat.v1.DialogAction
Namespace
Google \ Apps \ Chat \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ dialog |
Dialog
Input only. Dialog for the request. |
↳ action_status |
ActionStatus
Input only. Status for a request to either invoke or submit a dialog. Displays a status and message to users, if necessary. For example, in case of an error or success. |
getDialog
Input only.
Dialog for the request.
Returns | |
---|---|
Type | Description |
Dialog|null |
hasDialog
setDialog
Input only.
Dialog for the request.
Parameter | |
---|---|
Name | Description |
var |
Dialog
|
Returns | |
---|---|
Type | Description |
$this |
getActionStatus
Input only. Status for a request to either invoke or submit a dialog. Displays a status and message to users, if necessary.
For example, in case of an error or success.
Returns | |
---|---|
Type | Description |
ActionStatus|null |
hasActionStatus
clearActionStatus
setActionStatus
Input only. Status for a request to either invoke or submit a dialog. Displays a status and message to users, if necessary.
For example, in case of an error or success.
Parameter | |
---|---|
Name | Description |
var |
ActionStatus
|
Returns | |
---|---|
Type | Description |
$this |
getAction
Returns | |
---|---|
Type | Description |
string |