Discore
Show / Hide Table of Contents

Method KeepAttachments

| Improve this Doc View Source

KeepAttachments(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
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX