Google Apps Chat V1 Client - Class MessageCreatedEventData (0.4.0)

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
Google\Apps\Chat\V1\Message

The new message.

getMessage

The new message.

Returns
Type
Description

hasMessage

clearMessage

setMessage

The new message.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: