Google Apps Chat V1 Client - Class DeleteReactionRequest (0.2.0)

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

Deletes a reaction to a message.

Generated from protobuf message google.chat.v1.DeleteReactionRequest

Namespace

Google \ Apps \ Chat \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the reaction to delete. Format: spaces/{space}/messages/{message}/reactions/{reaction}

getName

Required. Name of the reaction to delete.

Format: spaces/{space}/messages/{message}/reactions/{reaction}

Returns
Type Description
string

setName

Required. Name of the reaction to delete.

Format: spaces/{space}/messages/{message}/reactions/{reaction}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Name of the reaction to delete.

Format: spaces/{space}/messages/{message}/reactions/{reaction} Please see Google\Apps\Chat\V1\ChatServiceClient::reactionName() for help formatting this field.

Returns
Type Description
Google\Apps\Chat\V1\DeleteReactionRequest