A block with a video, corresponding to the HTML tag <video>.
More...
#include <Types.h>
|
| std::string | type { TYPE } |
| | Type of the block, always “video”
|
| std::shared_ptr< Video > | video { } |
| | The video.
|
| 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.
|
A block with a video, corresponding to the HTML tag <video>.
Definition at line 12326 of file Types.h.
◆ Ptr
◆ caption
Optional. Caption of the block.
Definition at line 12349 of file Types.h.
◆ hasSpoiler
| std::optional<bool> TgBot::RichBlockVideo::hasSpoiler { } |
Optional. True, if the media preview is covered by a spoiler animation.
Definition at line 12344 of file Types.h.
◆ TYPE
| TGBOT_API const std::string TgBot::RichBlockVideo::TYPE |
|
static |
◆ type
| std::string TgBot::RichBlockVideo::type { TYPE } |
Type of the block, always “video”
Definition at line 12334 of file Types.h.
◆ video
| std::shared_ptr<Video> TgBot::RichBlockVideo::video { } |
The documentation for this struct was generated from the following file: