Class: Google::Apps::Chat::V1::QuotedMessageMetadata

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/chat/v1/message.rb

Overview

Information about a message that another message quotes.

When you create a message, you can quote messages within the same thread, or quote a root message to create a new root message. However, you can't quote a message reply from a different thread.

When you update a message, you can't add or replace the quotedMessageMetadata field, but you can remove it.

For example usage, see Quote another message.

Instance Attribute Summary collapse

Instance Attribute Details

#last_update_time::Google::Protobuf::Timestamp

Returns Required. The timestamp when the quoted message was created or when the quoted message was last updated.

If the message was edited, use this field, last_update_time. If the message was never edited, use create_time.

If last_update_time doesn't match the latest version of the quoted message, the request fails.

Returns:

  • (::Google::Protobuf::Timestamp)

    Required. The timestamp when the quoted message was created or when the quoted message was last updated.

    If the message was edited, use this field, last_update_time. If the message was never edited, use create_time.

    If last_update_time doesn't match the latest version of the quoted message, the request fails.



270
271
272
273
# File 'proto_docs/google/chat/v1/message.rb', line 270

class 
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns Required. Resource name of the message that is quoted.

Format: spaces/{space}/messages/{message}.

Returns:

  • (::String)

    Required. Resource name of the message that is quoted.

    Format: spaces/{space}/messages/{message}



270
271
272
273
# File 'proto_docs/google/chat/v1/message.rb', line 270

class 
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end