Google Apps Chat V1 Client - Class MessageBatchCreatedEventData (0.6.1)

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

Event payload for multiple new messages.

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

Generated from protobuf message google.chat.v1.MessageBatchCreatedEventData

Namespace

Google \ Apps \ Chat \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ messages array<MessageCreatedEventData>

A list of new messages.

getMessages

A list of new messages.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMessages

A list of new messages.

Parameter
Name Description
var array<MessageCreatedEventData>
Returns
Type Description
$this