Class MessageReferenceOptions
Inherited Members
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. |