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

A block with a voice note, corresponding to the HTML tag <audio>. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichBlockVoiceNote>

Public Attributes

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

Definition at line 12359 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 12360 of file Types.h.

Member Data Documentation

◆ caption

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

Optional. Caption of the block.

Definition at line 12377 of file Types.h.

◆ TYPE

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

Definition at line 12362 of file Types.h.

◆ type

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

Type of the block, always “voice_note”

Definition at line 12367 of file Types.h.

◆ voiceNote

std::shared_ptr<Voice> TgBot::RichBlockVoiceNote::voiceNote { }

The voice note.

Definition at line 12372 of file Types.h.


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