|
tgbot-cpp
|
A block with an animation, corresponding to the HTML tag <video>. More...
#include <Types.h>
Public Types | |
| using | Ptr = std::shared_ptr<RichBlockAnimation> |
Public Attributes | |
| std::string | type { TYPE } |
| Type of the block, always “animation” | |
| std::shared_ptr< Animation > | animation { } |
| The animation. | |
| std::optional< bool > | hasSpoiler { } |
| Optional. True, if the media preview is covered by a spoiler animation. | |
| std::shared_ptr< RichBlockCaption > | caption { } |
| Optional. Caption of the block. | |
Static Public Attributes | |
| static TGBOT_API const std::string | TYPE |
A block with an animation, corresponding to the HTML tag <video>.
| using TgBot::RichBlockAnimation::Ptr = std::shared_ptr<RichBlockAnimation> |
| std::shared_ptr<Animation> TgBot::RichBlockAnimation::animation { } |
| std::shared_ptr<RichBlockCaption> TgBot::RichBlockAnimation::caption { } |
| std::optional<bool> TgBot::RichBlockAnimation::hasSpoiler { } |
|
static |
| std::string TgBot::RichBlockAnimation::type { TYPE } |