tgbot-cpp
Loading...
Searching...
No Matches
TgBot::InputRichBlockAudio 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<InputRichBlockAudio>

Public Attributes

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

Definition at line 7317 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 7318 of file Types.h.

Member Data Documentation

◆ audio

std::shared_ptr<InputMediaAudio> TgBot::InputRichBlockAudio::audio { }

The audio. Caption is ignored.

Definition at line 7330 of file Types.h.

◆ caption

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

Optional. Caption of the block.

Definition at line 7335 of file Types.h.

◆ TYPE

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

Definition at line 7320 of file Types.h.

◆ type

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

Type of the block, always “audio”

Definition at line 7325 of file Types.h.


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