Enum DeletionMetadata.DeletionType (0.36.0)

public enum DeletionMetadata.DeletionType extends Enum<DeletionMetadata.DeletionType> implements ProtocolMessageEnum

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 enum google.chat.v1.DeletionMetadata.DeletionType

Implements

ProtocolMessageEnum

Static Fields

Name Description
ADMIN

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.

ADMIN = 3;

ADMIN_VALUE

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.

ADMIN = 3;

APP_MESSAGE_EXPIRY

A Chat app deleted its own message when it expired.

APP_MESSAGE_EXPIRY = 4;

APP_MESSAGE_EXPIRY_VALUE

A Chat app deleted its own message when it expired.

APP_MESSAGE_EXPIRY = 4;

CREATOR

User deleted their own message.

CREATOR = 1;

CREATOR_VALUE

User deleted their own message.

CREATOR = 1;

CREATOR_VIA_APP

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

CREATOR_VIA_APP = 5;

CREATOR_VIA_APP_VALUE

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

CREATOR_VIA_APP = 5;

DELETION_TYPE_UNSPECIFIED

This value is unused.

DELETION_TYPE_UNSPECIFIED = 0;

DELETION_TYPE_UNSPECIFIED_VALUE

This value is unused.

DELETION_TYPE_UNSPECIFIED = 0;

SPACE_MEMBER

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

SPACE_MEMBER = 7;

SPACE_MEMBER_VALUE

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

SPACE_MEMBER = 7;

SPACE_OWNER

A space manager deleted the message.

SPACE_OWNER = 2;

SPACE_OWNER_VALUE

A space manager deleted the message.

SPACE_OWNER = 2;

SPACE_OWNER_VIA_APP

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

SPACE_OWNER_VIA_APP = 6;

SPACE_OWNER_VIA_APP_VALUE

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

SPACE_OWNER_VIA_APP = 6;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()