Attachment
Implementation of discords Attachment object as a Luau builder.
https://discord.com/developers/docs/resources/message#attachment-object
Properties
The Attachment instance has no set properties!
Methods
The Attachment instance has no set methods!
Functions
setId
Attachment . setId () -> ()
self: Attachment
attachmentId: string
The ID of the attachment to use.
build
Attachment . build () -> ()
self: Attachment
Responsible for building the Attachment JSON that can be parsed by the Discord API.
new
Attachment . new () -> ()
resource: {
{ attachmentId: string, } }
Responsible for creating a new Attachment.