Reference documentation and code samples for the Google Apps Chat V1 Client class ActionStatus.
Represents the status for a request to either invoke or submit a dialog.
Generated from protobuf message google.chat.v1.ActionStatus
Namespace
Google \ Apps \ Chat \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ status_code |
int
The status code. |
↳ user_facing_message |
string
The message to send users about the status of their request. If unset, a generic message based on the |
getStatusCode
The status code.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Code. |
setStatusCode
The status code.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Code. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUserFacingMessage
The message to send users about the status of their request.
If unset, a generic message based on the status_code is sent.
| Returns | |
|---|---|
| Type | Description |
string |
|
setUserFacingMessage
The message to send users about the status of their request.
If unset, a generic message based on the status_code is sent.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|