Constructor AttachmentOptions
| Improve this Doc View SourceAttachmentOptions(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. |