API v10InterfacesRESTAPIAttachmentVersion: NextOn this pageRESTAPIAttachment https://discord.com/developers/docs/resources/channel#attachment-objectIndex PropertiesdescriptionfilenameidProperties optionaldescriptiondescription?: stringDescription of the fileoptionalfilenamefilename?: stringName of the fileidid: string | numberAttachment id or a number that matches n in files[n]
https://discord.com/developers/docs/resources/channel#attachment-object