API v9InterfacesRESTAPIAttachmentVersion: 0.37.81On 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