tgbot-cpp
Loading...
Searching...
No Matches
TgBot::RichBlockAnimation Struct Reference

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

Detailed Description

A block with an animation, corresponding to the HTML tag <video>.

Definition at line 10749 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 10750 of file Types.h.

Member Data Documentation

◆ animation

std::shared_ptr<Animation> TgBot::RichBlockAnimation::animation { }

The animation.

Definition at line 10761 of file Types.h.

◆ caption

std::shared_ptr<RichBlockCaption> TgBot::RichBlockAnimation::caption { }

Optional. Caption of the block.

Definition at line 10769 of file Types.h.

◆ hasSpoiler

std::optional<bool> TgBot::RichBlockAnimation::hasSpoiler { }

Optional. True, if the media preview is covered by a spoiler animation.

Definition at line 10765 of file Types.h.

◆ TYPE

TGBOT_API const std::string TgBot::RichBlockAnimation::TYPE
static

Definition at line 10752 of file Types.h.

◆ type

std::string TgBot::RichBlockAnimation::type { TYPE }

Type of the block, always “animation”

Definition at line 10757 of file Types.h.


The documentation for this struct was generated from the following file: