Class EditMessageOptions
Inherited Members
Namespace: Discore.Http
Assembly: Discore.dll
Syntax
public class EditMessageOptions
Constructors
| Name | Description |
|---|---|
| EditMessageOptions() | |
| EditMessageOptions(string) |
Properties
| Name | Description |
|---|---|
| AllowedMentions | Gets or sets the allowed mentions for the message. |
| Attachments | Gets or sets file attachments to keep or upload with the message. |
| Content | Gets or sets the content of the message. |
| Embeds | Gets or sets the embeds within the message. |
| Flags | Gets or sets the flags of the message. Note: Only SuppressEmbeds can be set/unset. |
Methods
| Name | Description |
|---|---|
| AddOrSetAttachment(AttachmentOptions) | Adds a new attachment or modifies an existing one. |
| KeepAttachment(Snowflake) | Specifies that an existing attachment with the given ID should not be deleted when the message is edited. |
| KeepAttachments(IEnumerable<DiscordAttachment>) | Specifies that existing attachments should not be deleted when the message is edited. |
| SetAllowedMentions(AllowedMentionsOptions) | Sets which mentions are allowed for the message. |
| SetAttachments(IList<AttachmentOptions>?) | Sets attachments to keep or upload with the message. |
| SetContent(string) | Sets the content of the message. |
| SetEmbeds(IList<EmbedOptions>?) | Sets the embeds within the message. |
| SetFlags(DiscordMessageFlags?) | Sets the flags of the message. Note: Only SuppressEmbeds can be set/unset. |