telegram api type · layer 229

DocumentAttribute

Various possible attributes of a document (used to define if it's a sticker, a GIF, a video, a mask sticker, an image, an audio, and so on)

constructors (8)

constructoriddescription
documentAttributeImageSize#6c37c15cDefines the width and height of an image uploaded as document
documentAttributeAnimated#11b58939Defines an animated GIF
documentAttributeSticker#6319d612Defines a sticker
documentAttributeVideo#43c57c48Defines a video
documentAttributeAudio#9852f9c6Represents an audio file
documentAttributeFilename#15590068A simple document with a file name
documentAttributeHasStickers#9801d2f7Whether the current document has stickers attached
documentAttributeCustomEmoji#fd149899Info about a custom emoji

used by (5)