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

A block with a music file, corresponding to the HTML tag <audio>. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichBlockAudio>

Public Attributes

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

Definition at line 11739 of file Types.h.

Member Typedef Documentation

◆ Ptr

using TgBot::RichBlockAudio::Ptr = std::shared_ptr<RichBlockAudio>

Definition at line 11740 of file Types.h.

Member Data Documentation

◆ audio

std::shared_ptr<Audio> TgBot::RichBlockAudio::audio { }

The audio.

Definition at line 11752 of file Types.h.

◆ caption

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

Optional. Caption of the block.

Definition at line 11757 of file Types.h.

◆ TYPE

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

Definition at line 11742 of file Types.h.

◆ type

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

Type of the block, always “audio”

Definition at line 11747 of file Types.h.


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