Reference documentation and code samples for the Google Apps Chat V1 Client class QuotedMessageSnapshot.
Provides a snapshot of the content of the quoted message at the time of quoting or forwarding
Generated from protobuf message google.chat.v1.QuotedMessageSnapshot
Namespace
Google \ Apps \ Chat \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ sender
string
Output only. The quoted message's author name. Populated for both REPLY & FORWARD quote types.
↳ text
string
Output only. Snapshot of the quoted message's text content.
↳ formatted_text
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.
↳ annotations
array< Annotation
>
Output only. Annotations parsed from the text body of the quoted message. Populated only for FORWARD quote type.
↳ attachments
array< 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.
getSender
Output only. The quoted message's author name.
Populated for both REPLY & FORWARD quote types.
string
setSender
Output only. The quoted message's author name.
Populated for both REPLY & FORWARD quote types.
var
string
$this
getText
Output only. Snapshot of the quoted message's text content.
string
setText
Output only. Snapshot of the quoted message's text content.
var
string
$this
getFormattedText
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.
string
setFormattedText
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.
var
string
$this
getAnnotations
Output only. Annotations parsed from the text body of the quoted message.
Populated only for FORWARD quote type.
setAnnotations
Output only. Annotations parsed from the text body of the quoted message.
Populated only for FORWARD quote type.
$this
getAttachments
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.
setAttachments
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.
$this

