Google Apps Chat V1 Client - Class MessageCreatedEventData (0.6.1)

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

Event payload for a new message.

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

Generated from protobuf message google.chat.v1.MessageCreatedEventData

Namespace

Google \ Apps \ Chat \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ message Message

The new message.

getMessage

The new message.

Returns
Type Description
Message|null

hasMessage

clearMessage

setMessage

The new message.

Parameter
Name Description
var Message
Returns
Type Description
$this