Discore
Show / Hide Table of Contents

Constructor AttachmentOptions

| Improve this Doc View Source

AttachmentOptions(Snowflake)

Creates attachment options for a new or existing attachment.

Declaration
public AttachmentOptions(Snowflake id)
Parameters
Type Name Description
Snowflake id

When uploading a new attachment, should be a temporary unique ID such as 0, 1, 2, etc. When modifying or keeping an existing attachment (for message edits), should be its full generated snowflake ID.

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