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 \ DeletionMetadataMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
DELETION_TYPE_UNSPECIFIED
Value: 0
This value is unused.
Generated from protobuf enum DELETION_TYPE_UNSPECIFIED = 0;
CREATOR
Value: 1
User deleted their own message.
Generated from protobuf enum CREATOR = 1;
SPACE_OWNER
Value: 2
A space manager deleted the message.
Generated from protobuf enum SPACE_OWNER = 2;
ADMIN
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;
APP_MESSAGE_EXPIRY
Value: 4
A Chat app deleted its own message when it expired.
Generated from protobuf enum APP_MESSAGE_EXPIRY = 4;
CREATOR_VIA_APP
Value: 5
A Chat app deleted the message on behalf of the creator (using user authentication).
Generated from protobuf enum CREATOR_VIA_APP = 5;
SPACE_OWNER_VIA_APP
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;
SPACE_MEMBER
Value: 7
A member of the space deleted the message. Users can delete messages sent by apps.
Generated from protobuf enum SPACE_MEMBER = 7;