tgbot-cpp
|
You can provide an animation for your game so that it looks stylish in chats (check out Lumberjack for an example). More...
#include <Animation.h>
Public Types | |
typedef std::shared_ptr< Animation > | Ptr |
Public Attributes | |
std::string | fileId |
Unique file identifier. More... | |
PhotoSize::Ptr | thumb |
Optional. Animation thumbnail as defined by sender. More... | |
std::string | fileName |
Optional. Original animation filename as defined by sender. More... | |
std::string | mimeType |
Optional. MIME type of the file as defined by sender. More... | |
int32_t | fileSize |
Optional. File size. More... | |
You can provide an animation for your game so that it looks stylish in chats (check out Lumberjack for an example).
This object represents an animation file to be displayed in the message containing a game.
Definition at line 41 of file Animation.h.
typedef std::shared_ptr<Animation> TgBot::Animation::Ptr |
Definition at line 43 of file Animation.h.
std::string TgBot::Animation::fileId |
Unique file identifier.
Definition at line 48 of file Animation.h.
std::string TgBot::Animation::fileName |
Optional. Original animation filename as defined by sender.
Definition at line 58 of file Animation.h.
int32_t TgBot::Animation::fileSize |
Optional. File size.
Definition at line 68 of file Animation.h.
std::string TgBot::Animation::mimeType |
Optional. MIME type of the file as defined by sender.
Definition at line 63 of file Animation.h.
PhotoSize::Ptr TgBot::Animation::thumb |
Optional. Animation thumbnail as defined by sender.
Definition at line 53 of file Animation.h.