Reference documentation and code samples for the Google Chat V1 API module Google::Apps::Chat::V1::DeletionMetadata::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.
Constants
DELETION_TYPE_UNSPECIFIED
value: 0
This value is unused.
CREATOR
value: 1
User deleted their own message.
SPACE_OWNER
value: 2
A space manager deleted the message.
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.
APP_MESSAGE_EXPIRY
value: 4
A Chat app deleted its own message when it expired.
CREATOR_VIA_APP
value: 5
A Chat app deleted the message on behalf of the creator (using user
authentication).
SPACE_OWNER_VIA_APP
value: 6
A Chat app deleted the message on behalf of a space manager (using user
authentication).
SPACE_MEMBER
value: 7
A member of the space deleted the message. Users can delete messages sent
by apps.