Google Apps Chat V1 Client - Class SlashCommand (0.12.0)

Reference documentation and code samples for the Google Apps Chat V1 Client class SlashCommand.

Metadata about a slash command in Google Chat.

Generated from protobuf message google.chat.v1.SlashCommand

Namespace

Google \ Apps \ Chat \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ command_id
int|string

The ID of the slash command.

getCommandId

The ID of the slash command.

Returns
Type
Description
int|string

setCommandId

The ID of the slash command.

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: