Skip to content

Attachment

This data type describes all available data about the message attachment (video, pictures, files).

Properties

PropertyTypeDescription
idNumberUnique identifier
createdAtDateTimeCreation date and time
urlStringURL
proxyUrlStringProxy URL
fileNameStringFile name
descriptionStringDescription
sizeNumberFile size (bytes)
heightNumberImage/Video height. -1 for other file types
widthNumberImage/Video width. -1 for other file types
clipBooleantrue if this attachment is a clip from stream
remixBooleantrue if this attachment is edited using the remix feature on mobile
spoilerBooleantrue if this attachment is marked as a spoiler and is blurred until clicked
animatedBooleantrue if this attachment is an animated image

All rights sniffed.