Google Apps Chat V1 Client - Class MembershipCreatedEventData (0.4.0)

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

The new membership.

getMembership

The new membership.

Returns
Type Description
Google\Apps\Chat\V1\Membership|null

hasMembership

clearMembership

setMembership

The new membership.

Parameter
Name Description
var Google\Apps\Chat\V1\Membership
Returns
Type Description
$this