Class QuotedMessageMetadata
Quote metadata: go/message-quoting-be-dd-v2. This proto is only used on the read path. For the request proto,
refer to QuotedMessagePayload. Fields are either derived from storage directly from the Item this metadata
belongs to, or is hydrated at read time from another Item read. Note: QuotedMessageMetadata proto is similar to
Message proto with less field. Reasons to differtiate QuotedMessageMetadata from Message are: 1. Not all fields
for original message is applicable for quoted message. (E.g. reactions, is_inline_reply, etc.), thus separting
out for confusion. 2. We don't support nested message quoting. For more detailed discussion, please see
http://shortn/_VsSXQb2C7P. For future reference: if your new feature/field will be supported in message quoting
feature (go/chat-quoting-prd), you will need to add that field within QuotedMessageMetadata
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class QuotedMessageMetadata : IDirectResponseSchema
Properties
Annotations
Output only. Snapshot of the annotations of the quoted message.
Declaration
[JsonProperty("annotations")]
public virtual IList<Annotation> Annotations { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<Annotation> |
AppProfile
Output only. Custom display profile info for apps. Will be empty for real users.
Declaration
[JsonProperty("appProfile")]
public virtual AppsDynamiteSharedAppProfile AppProfile { get; set; }
Property Value
| Type | Description |
|---|---|
| AppsDynamiteSharedAppProfile |
BotAttachmentState
Output only. The bot attachment state of the quoted message. Used by clients to display a bot attachment indicator in the UI.
Declaration
[JsonProperty("botAttachmentState")]
public virtual string BotAttachmentState { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
CreateTimeMicros
Output only. Time when the quoted message was posted in microseconds.
Declaration
[JsonProperty("createTimeMicros")]
public virtual long? CreateTimeMicros { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
CreatorId
Output only. ID of the User who posted the quoted message. This includes information to identify if the quoted message was posted by an App on behalf of a user.
Declaration
[JsonProperty("creatorId")]
public virtual UserId CreatorId { get; set; }
Property Value
| Type | Description |
|---|---|
| UserId |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
LastEditTimeMicros
Output only. Time when the quoted message was last edited by a user at the time when quoting action happens. Time is in microseconds.
Declaration
[JsonProperty("lastEditTimeMicros")]
public virtual long? LastEditTimeMicros { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
LastUpdateTimeWhenQuotedMicros
The last_update_time of the original message when the client initiated the quote creation. This is derived
from the request payload passed from clients. Used to fetch the quoted message contents at a specific time
on the read path. This field is populated from storage directly.
Declaration
[JsonProperty("lastUpdateTimeWhenQuotedMicros")]
public virtual long? LastUpdateTimeWhenQuotedMicros { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
MessageId
MessageId of the original message that is being quoted. This is derived from the request payload passed from clients. This field is populated from storage directly.
Declaration
[JsonProperty("messageId")]
public virtual MessageId MessageId { get; set; }
Property Value
| Type | Description |
|---|---|
| MessageId |
MessageState
Output only. The state of the quoted message. Used by clients to display tombstones for quotes that reference a deleted message.
Declaration
[JsonProperty("messageState")]
public virtual string MessageState { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
RetentionSettings
Output only. The retention (OTR) settings of the quoted message.
Declaration
[JsonProperty("retentionSettings")]
public virtual AppsDynamiteSharedRetentionSettings RetentionSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| AppsDynamiteSharedRetentionSettings |
TextBody
Output only. Snapshot of the text body of the quoted message.
Declaration
[JsonProperty("textBody")]
public virtual string TextBody { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
UpdaterId
Output only. ID of the User who last updated (created/edited/deleted) the quoted message at the time when quoting action happens. This includes information to identify if the quoted message was posted by an App on behalf of a user.
Declaration
[JsonProperty("updaterId")]
public virtual UserId UpdaterId { get; set; }
Property Value
| Type | Description |
|---|---|
| UserId |
UploadMetadata
Output only. Upload metadata of the quoted message.
Declaration
[JsonProperty("uploadMetadata")]
public virtual IList<UploadMetadata> UploadMetadata { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<UploadMetadata> |