Google Apps Chat V1 Client - Class DeletionType (0.2.0)

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

Who deleted the message and how it was deleted.

Protobuf type google.chat.v1.DeletionMetadata.DeletionType

Namespace

Google \ Apps \ Chat \ V1 \ DeletionMetadata

Methods

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

The space owner deleted the message.

Generated from protobuf enum SPACE_OWNER = 2;

ADMIN

Value: 3

A Google Workspace admin deleted the message.

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 user.

Generated from protobuf enum CREATOR_VIA_APP = 5;

SPACE_OWNER_VIA_APP

Value: 6

A Chat app deleted the message on behalf of the space owner.

Generated from protobuf enum SPACE_OWNER_VIA_APP = 6;