Show / Hide Table of Contents

Class QuotedMessageMetadata

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.

Inheritance
object
QuotedMessageMetadata
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.HangoutsChat.v1.Data
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class QuotedMessageMetadata : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

ForwardedMetadata

Output only. Metadata about the source space of the quoted message. Populated only for FORWARD quote type.

Declaration
[JsonProperty("forwardedMetadata")]
public virtual ForwardedMetadata ForwardedMetadata { get; set; }
Property Value
Type Description
ForwardedMetadata

LastUpdateTime

object representation of LastUpdateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use LastUpdateTimeDateTimeOffset instead.")]
public virtual object LastUpdateTime { get; set; }
Property Value
Type Description
object

LastUpdateTimeDateTimeOffset

DateTimeOffset representation of LastUpdateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? LastUpdateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

LastUpdateTimeRaw

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.

Declaration
[JsonProperty("lastUpdateTime")]
public virtual string LastUpdateTimeRaw { get; set; }
Property Value
Type Description
string

Name

Required. Resource name of the message that is quoted. Format: spaces/{space}/messages/{message}

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

QuoteType

Optional. Specifies the quote type. If not set, defaults to REPLY in the message read/write path for backward compatibility.

Declaration
[JsonProperty("quoteType")]
public virtual string QuoteType { get; set; }
Property Value
Type Description
string

QuotedMessageSnapshot

Output only. A snapshot of the quoted message's content.

Declaration
[JsonProperty("quotedMessageSnapshot")]
public virtual QuotedMessageSnapshot QuotedMessageSnapshot { get; set; }
Property Value
Type Description
QuotedMessageSnapshot

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX