API v10InterfacesRESTAPIAttachmentVersion: 0.37.70On 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