Google Apps Chat V1 Client - Class MessageDeletedEventData (0.4.0)

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

Event payload for a deleted message.

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

Generated from protobuf message google.chat.v1.MessageDeletedEventData

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 deleted message. Only the name, createTime, deleteTime, and deletionMetadata fields are populated.

getMessage

The deleted message. Only the name, createTime, deleteTime, and deletionMetadata fields are populated.

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

hasMessage

clearMessage

setMessage

The deleted message. Only the name, createTime, deleteTime, and deletionMetadata fields are populated.

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