Method KeepAttachments
| Improve this Doc View SourceKeepAttachments(IEnumerable<DiscordAttachment>)
Specifies that existing attachments should not be deleted when the message is edited.
Declaration
public EditMessageOptions KeepAttachments(IEnumerable<DiscordAttachment> attachments)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<DiscordAttachment> | attachments |
Returns
| Type | Description |
|---|---|
| EditMessageOptions |