Google Apps Chat V1 Client - Class MessageDeletedEventData (0.7.1)

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 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
Message|null

hasMessage

clearMessage

setMessage

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

Parameter
Name Description
var Message
Returns
Type Description
$this