Google Apps Chat V1 Client - Class MessageBatchCreatedEventData (0.6.0)

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<Google\Apps\Chat\V1\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<Google\Apps\Chat\V1\MessageCreatedEventData>
Returns
Type Description
$this