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).
This base type has 7 constructors available.
Defines an animated GIF.
Represents an audio file.
A simple document with a file name.
Whether the current document has stickers attached.
Defines the width and height of an image uploaded as document.
Defines a sticker.
Defines a video.