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
IMessage<QuotedMessageMetadata>
IEquatable<QuotedMessageMetadata>
IDeepCloneable<QuotedMessageMetadata>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Apps.Chat.V1
Assembly: Google.Apps.Chat.V1.dll
Syntax
public sealed class QuotedMessageMetadata : IMessage<QuotedMessageMetadata>, IEquatable<QuotedMessageMetadata>, IDeepCloneable<QuotedMessageMetadata>, IBufferMessage, IMessage

Constructors

QuotedMessageMetadata()

Declaration
public QuotedMessageMetadata()

QuotedMessageMetadata(QuotedMessageMetadata)

Declaration
public QuotedMessageMetadata(QuotedMessageMetadata other)
Parameters
Type Name Description
QuotedMessageMetadata other

Properties

ForwardedMetadata

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

Declaration
public ForwardedMetadata ForwardedMetadata { get; set; }
Property Value
Type Description
ForwardedMetadata

LastUpdateTime

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
public Timestamp LastUpdateTime { get; set; }
Property Value
Type Description
Timestamp

Name

Required. Resource name of the message that is quoted.

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

Declaration
public 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
public QuotedMessageMetadata.Types.QuoteType QuoteType { get; set; }
Property Value
Type Description
QuotedMessageMetadata.Types.QuoteType

QuotedMessageMetadataName

QuotedMessageMetadataName-typed view over the Name resource name property.

Declaration
public QuotedMessageMetadataName QuotedMessageMetadataName { get; set; }
Property Value
Type Description
QuotedMessageMetadataName

QuotedMessageSnapshot

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

Declaration
public QuotedMessageSnapshot QuotedMessageSnapshot { get; set; }
Property Value
Type Description
QuotedMessageSnapshot
In this article
Back to top Generated by DocFX