1#ifndef TGBOT_ANIMATION_H
2#define TGBOT_ANIMATION_H
19 typedef std::shared_ptr<Animation>
Ptr;
This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound).
std::string fileName
Optional. Original animation filename as defined by sender.
std::int64_t fileSize
Optional. File size in bytes.
std::int32_t duration
Duration of the video in seconds as defined by sender.
std::string mimeType
Optional. MIME type of the file as defined by sender.
std::string fileUniqueId
Unique identifier for this file, which is supposed to be the same over time and for different bots....
PhotoSize::Ptr thumbnail
Optional. Animation thumbnail as defined by sender.
std::int32_t height
Video height as defined by sender.
std::int32_t width
Video width as defined by sender.
std::string fileId
Identifier for this file, which can be used to download or reuse the file.
std::shared_ptr< Animation > Ptr
std::shared_ptr< PhotoSize > Ptr