Google Apps Chat V1 Client - Class SlashCommand (0.6.0)

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

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 invoked.

getCommandId

The ID of the slash command invoked.

Returns
Type Description
int|string

setCommandId

The ID of the slash command invoked.

Parameter
Name Description
var int|string
Returns
Type Description
$this