Google Apps Chat V1 Client - Class DialogAction (0.3.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ dialog Google\Apps\Chat\V1\Dialog

Input only. Dialog for the request.

↳ action_status Google\Apps\Chat\V1\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
Google\Apps\Chat\V1\Dialog|null

hasDialog

setDialog

Input only.

Dialog for the request.

Parameter
Name Description
var Google\Apps\Chat\V1\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
Google\Apps\Chat\V1\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 Google\Apps\Chat\V1\ActionStatus
Returns
Type Description
$this

getAction

Returns
Type Description
string