Google Apps Chat V1 Client - Class DeletionType (0.12.0)

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

Who deleted the message and how it was deleted. More values may be added in the future. See Edit or delete a message in Google Chat for details on when messages can be deleted.

Protobuf type google.chat.v1.DeletionMetadata.DeletionType

Namespace

Google \ Apps \ Chat \ V1 \ DeletionMetadata

Methods

Parameter
Name
Description
value
mixed
Parameter
Name
Description
name
mixed

Constants

  Value: 0 
 

This value is unused.

Generated from protobuf enum DELETION_TYPE_UNSPECIFIED = 0;

  Value: 1 
 

User deleted their own message.

Generated from protobuf enum CREATOR = 1;

  Value: 2 
 

A space manager deleted the message.

Generated from protobuf enum SPACE_OWNER = 2;

  Value: 3 
 

A Google Workspace administrator deleted the message. Administrators can delete any message in the space, including messages sent by any space member or Chat app.

Generated from protobuf enum ADMIN = 3;

  Value: 4 
 

A Chat app deleted its own message when it expired.

Generated from protobuf enum APP_MESSAGE_EXPIRY = 4;

  Value: 5 
 

A Chat app deleted the message on behalf of the creator (using user authentication).

Generated from protobuf enum CREATOR_VIA_APP = 5;

  Value: 6 
 

A Chat app deleted the message on behalf of a space manager (using user authentication).

Generated from protobuf enum SPACE_OWNER_VIA_APP = 6;

  Value: 7 
 

A member of the space deleted the message. Users can delete messages sent by apps.

Generated from protobuf enum SPACE_MEMBER = 7;

Create a Mobile Website
View Site in Mobile | Classic
Share by: