Reference documentation and code samples for the Google Apps Chat V1 Client class AppCommandMetadata.
Metadata about a Chat app command.
Generated from protobuf message google.chat.v1.AppCommandMetadata
Namespace
Google \ Apps \ Chat \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ app_command_id |
int
The ID for the command specified in the Chat API configuration. |
↳ app_command_type |
int
The type of Chat app command. |
getAppCommandId
The ID for the command specified in the Chat API configuration.
| Returns | |
|---|---|
| Type | Description |
int |
|
setAppCommandId
The ID for the command specified in the Chat API configuration.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAppCommandType
The type of Chat app command.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type AppCommandType. |
setAppCommandType
The type of Chat app command.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type AppCommandType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|