Google Apps Chat V1 Client - Class MessageUpdatedEventData (0.4.0)

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

Event payload for an updated message.

Event type: google.workspace.chat.message.v1.updated

Generated from protobuf message google.chat.v1.MessageUpdatedEventData

Namespace

Google \ Apps \ Chat \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ message Google\Apps\Chat\V1\Message

The updated message.

getMessage

The updated message.

Returns
Type Description
Google\Apps\Chat\V1\Message|null

hasMessage

clearMessage

setMessage

The updated message.

Parameter
Name Description
var Google\Apps\Chat\V1\Message
Returns
Type Description
$this