Google Apps Chat V1 Client - Class MembershipCreatedEventData (0.6.1)

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

Event payload for a new membership.

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

Generated from protobuf message google.chat.v1.MembershipCreatedEventData

Namespace

Google \ Apps \ Chat \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ membership Membership

The new membership.

getMembership

The new membership.

Returns
Type Description
Membership|null

hasMembership

clearMembership

setMembership

The new membership.

Parameter
Name Description
var Membership
Returns
Type Description
$this