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)
| constructor | id | description |
|---|---|---|
| documentAttributeImageSize | #6c37c15c | Defines the width and height of an image uploaded as document |
| documentAttributeAnimated | #11b58939 | Defines an animated GIF |
| documentAttributeSticker | #6319d612 | Defines a sticker |
| documentAttributeVideo | #43c57c48 | Defines a video |
| documentAttributeAudio | #9852f9c6 | Represents an audio file |
| documentAttributeFilename | #15590068 | A simple document with a file name |
| documentAttributeHasStickers | #9801d2f7 | Whether the current document has stickers attached |
| documentAttributeCustomEmoji | #fd149899 | Info about a custom emoji |