Google Chat V1 API - Class Google::Apps::Chat::V1::QuotedMessageSnapshot (v0.19.0)

Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::QuotedMessageSnapshot.

Provides a snapshot of the content of the quoted message at the time of quoting or forwarding

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#annotations

def annotations() -> ::Array<::Google::Apps::Chat::V1::Annotation>
Returns

#attachments

def attachments() -> ::Array<::Google::Apps::Chat::V1::Attachment>
Returns
  • (::Array<::Google::Apps::Chat::V1::Attachment>) — Output only. Attachments that were part of the quoted message. These are copies of the quoted message's attachment metadata. Populated only for FORWARD quote type.

#formatted_text

def formatted_text() -> ::String
Returns
  • (::String) — Output only. Contains the quoted message text with markups added to support rich formatting like hyperlinks,custom emojis, markup, etc. Populated only for FORWARD quote type.

#sender

def sender() -> ::String
Returns
  • (::String) — Output only. The quoted message's author name. Populated for both REPLY & FORWARD quote types.

#text

def text() -> ::String
Returns
  • (::String) — Output only. Snapshot of the quoted message's text content.