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< Animationanimation { }
 The animation.
std::optional< bool > hasSpoiler { }
 Optional. True, if the media preview is covered by a spoiler animation.
std::shared_ptr< RichBlockCaptioncaption { }
 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 11706 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 11707 of file Types.h.

Member Data Documentation

◆ animation

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

The animation.

Definition at line 11719 of file Types.h.

◆ caption

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

Optional. Caption of the block.

Definition at line 11729 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 11724 of file Types.h.

◆ TYPE

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

Definition at line 11709 of file Types.h.

◆ type

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

Type of the block, always “animation”

Definition at line 11714 of file Types.h.


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