Class: Google::Apps::Chat::V1::DeletionMetadata
- Inherits:
-
Object
- Object
- Google::Apps::Chat::V1::DeletionMetadata
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/chat/v1/deletion_metadata.rb
Overview
Information about a deleted message. A message is deleted when delete_time
is set.
Defined Under Namespace
Modules: DeletionType
Instance Attribute Summary collapse
-
#deletion_type ⇒ ::Google::Apps::Chat::V1::DeletionMetadata::DeletionType
Indicates who deleted the message.
Instance Attribute Details
#deletion_type ⇒ ::Google::Apps::Chat::V1::DeletionMetadata::DeletionType
Returns Indicates who deleted the message.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'proto_docs/google/chat/v1/deletion_metadata.rb', line 29 class DeletionMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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](https://support.google.com/chat/answer/7653281) for details on when # messages can be deleted. module DeletionType # This value is unused. DELETION_TYPE_UNSPECIFIED = 0 # User deleted their own message. CREATOR = 1 # An owner or manager deleted the message. SPACE_OWNER = 2 # 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 # A Chat app deleted its own message when it expired. APP_MESSAGE_EXPIRY = 4 # A Chat app deleted the message on behalf of the creator (using user # authentication). CREATOR_VIA_APP = 5 # A Chat app deleted the message on behalf of a space manager (using user # authentication). SPACE_OWNER_VIA_APP = 6 # A member of the space deleted the message. Users can delete messages sent # by apps. SPACE_MEMBER = 7 end end |