Discore
Show / Hide Table of Contents

Class MessageReferenceOptions

Inheritance
object
MessageReferenceOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Discore.Http
Assembly: Discore.dll
Syntax
public class MessageReferenceOptions

Constructors

Name Description
MessageReferenceOptions()
MessageReferenceOptions(Snowflake)

Properties

Name Description
FailIfNotExists

Gets or sets whether to error if the referenced message doesn't exist instead of sending as a normal (non-reply) message.

Defaults to true if null is given.
MessageId

Gets or sets the ID of the message to reference.

Methods

Name Description
SetFailIfNotExists(bool?)

Sets whether to error if the referenced message doesn't exist instead of sending as a normal (non-reply) message.

SetMessageId(Snowflake)

Sets the ID of the message to reference.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX