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

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

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputRichBlockVideo>

Public Attributes

std::string type { TYPE }
 Type of the block, always “video”
std::shared_ptr< InputMediaVideovideo { }
 The video. 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 a video, corresponding to the HTML tag <video>.

Definition at line 7832 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 7833 of file Types.h.

Member Data Documentation

◆ caption

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

Optional. Caption of the block.

Definition at line 7850 of file Types.h.

◆ TYPE

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

Definition at line 7835 of file Types.h.

◆ type

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

Type of the block, always “video”

Definition at line 7840 of file Types.h.

◆ video

std::shared_ptr<InputMediaVideo> TgBot::InputRichBlockVideo::video { }

The video. Caption is ignored.

Definition at line 7845 of file Types.h.


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