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

Public Attributes

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

Definition at line 7860 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 7861 of file Types.h.

Member Data Documentation

◆ caption

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

Optional. Caption of the block.

Definition at line 7878 of file Types.h.

◆ TYPE

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

Definition at line 7863 of file Types.h.

◆ type

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

Type of the block, always “voice_note”

Definition at line 7868 of file Types.h.

◆ voiceNote

std::shared_ptr<InputMediaVoiceNote> TgBot::InputRichBlockVoiceNote::voiceNote { }

The voice note. Caption is ignored.

Definition at line 7873 of file Types.h.


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