Static
generateIDStatic
getStatic
getOptional
contentThe mime type of this attachment.
Optional
descriptionThe description of this attachment.
Optional
durationThe duration of the attached audio file, if voice message.
Optional
ephemeralIf this attachment is ephemeral. Ephemeral attachments will be removed after a set period of time.
The filename of this attachment.
The Attachment Flags of this image.
Optional
heightThe height of this attachment, if an image.
A proxied url of this attachment.
The size of this attachment.
The source url of this attachment.
Optional
waveformBase64 encoded bytearray representing a sampled waveform for voice messages.
Optional
widthThe width of this attachment, if an image.
Represents a file attachment.