Class: Google::Apis::ChatV1::DeletionMetadata

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb

Overview

Information about a deleted message. A message is deleted when delete_time is set.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeletionMetadata

Returns a new instance of DeletionMetadata.



1200
1201
1202
# File 'lib/google/apis/chat_v1/classes.rb', line 1200

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#deletion_typeString

Indicates who deleted the message. Corresponds to the JSON property deletionType

Returns:

  • (String)


1198
1199
1200
# File 'lib/google/apis/chat_v1/classes.rb', line 1198

def deletion_type
  @deletion_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1205
1206
1207
# File 'lib/google/apis/chat_v1/classes.rb', line 1205

def update!(**args)
  @deletion_type = args[:deletion_type] if args.key?(:deletion_type)
end