Table of Contents

Class Quote

Namespace
Kook
Assembly
Kook.Net.Core.dll

Represents a quoted message.

public class Quote : IQuote
Inheritance
Quote
Implements
Inherited Members

Properties

Author

Gets the author of this message.

public IUser Author { get; }

Property Value

IUser

Content

Gets the content of the message this quote refers to.

public string Content { get; }

Property Value

string

A string that contains the body of the message; note that this field may be empty or the original code if the message is not a text based message.

CreateAt

Gets the time this message was sent.

public DateTimeOffset CreateAt { get; }

Property Value

DateTimeOffset

Time of when the message was sent.

QuotedMessageId

Gets the identifier of the message this quote refers to.

public Guid QuotedMessageId { get; }

Property Value

Guid

Type

Gets the type of the message this quote refers to.

public MessageType Type { get; }

Property Value

MessageType