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

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

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputRichBlockAnimation>

Public Attributes

std::string type { TYPE }
 Type of the block, always “animation”
std::shared_ptr< InputMediaAnimationanimation { }
 The animation. Caption is ignored.
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 7289 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 7290 of file Types.h.

Member Data Documentation

◆ animation

std::shared_ptr<InputMediaAnimation> TgBot::InputRichBlockAnimation::animation { }

The animation. Caption is ignored.

Definition at line 7302 of file Types.h.

◆ caption

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

Optional. Caption of the block.

Definition at line 7307 of file Types.h.

◆ TYPE

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

Definition at line 7292 of file Types.h.

◆ type

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

Type of the block, always “animation”

Definition at line 7297 of file Types.h.


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