tgbot-cpp
Loading...
Searching...
No Matches
TgBot::InlineQueryResultCachedVoice Class Reference

Represents a link to a voice message stored on the Telegram servers. By default, this voice message will be sent by the user. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the voice message. More...

#include <InlineQueryResultCachedVoice.h>

Inheritance diagram for TgBot::InlineQueryResultCachedVoice:
TgBot::InlineQueryResult

Public Types

typedef std::shared_ptr< InlineQueryResultCachedVoicePtr
 
- Public Types inherited from TgBot::InlineQueryResult
typedef std::shared_ptr< InlineQueryResultPtr
 

Public Member Functions

 InlineQueryResultCachedVoice ()
 
- Public Member Functions inherited from TgBot::InlineQueryResult
 InlineQueryResult ()
 
virtual ~InlineQueryResult ()
 

Public Attributes

std::string voiceFileId
 A valid file identifier for the voice message.
 
std::string title
 Voice message title.
 
std::string caption
 Optional. Caption, 0-1024 characters after entities parsing.
 
std::string parseMode
 Optional. Mode for parsing entities in the voice message caption. See https://core.telegram.org/bots/api#formatting-options for more details.
 
std::vector< MessageEntity::PtrcaptionEntities
 Optional. List of special entities that appear in the caption, which can be specified instead of parseMode.
 
InputMessageContent::Ptr inputMessageContent
 Optional. Content of the message to be sent instead of the voice message.
 
- Public Attributes inherited from TgBot::InlineQueryResult
std::string type
 Type of the result.
 
std::string id
 Unique identifier for this result, 1-64 bytes.
 
InlineKeyboardMarkup::Ptr replyMarkup
 Optional. Inline keyboard attached to the message.
 

Static Public Attributes

static const std::string TYPE
 

Detailed Description

Represents a link to a voice message stored on the Telegram servers. By default, this voice message will be sent by the user. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the voice message.

Definition at line 21 of file InlineQueryResultCachedVoice.h.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ InlineQueryResultCachedVoice()

TgBot::InlineQueryResultCachedVoice::InlineQueryResultCachedVoice ( )
inline

Definition at line 27 of file InlineQueryResultCachedVoice.h.

Member Data Documentation

◆ caption

std::string TgBot::InlineQueryResultCachedVoice::caption

Optional. Caption, 0-1024 characters after entities parsing.

Definition at line 44 of file InlineQueryResultCachedVoice.h.

◆ captionEntities

std::vector<MessageEntity::Ptr> TgBot::InlineQueryResultCachedVoice::captionEntities

Optional. List of special entities that appear in the caption, which can be specified instead of parseMode.

Definition at line 55 of file InlineQueryResultCachedVoice.h.

◆ inputMessageContent

InputMessageContent::Ptr TgBot::InlineQueryResultCachedVoice::inputMessageContent

Optional. Content of the message to be sent instead of the voice message.

Definition at line 60 of file InlineQueryResultCachedVoice.h.

◆ parseMode

std::string TgBot::InlineQueryResultCachedVoice::parseMode

Optional. Mode for parsing entities in the voice message caption. See https://core.telegram.org/bots/api#formatting-options for more details.

Definition at line 50 of file InlineQueryResultCachedVoice.h.

◆ title

std::string TgBot::InlineQueryResultCachedVoice::title

Voice message title.

Definition at line 39 of file InlineQueryResultCachedVoice.h.

◆ TYPE

const std::string TgBot::InlineQueryResultCachedVoice::TYPE
static

Definition at line 23 of file InlineQueryResultCachedVoice.h.

◆ voiceFileId

std::string TgBot::InlineQueryResultCachedVoice::voiceFileId

A valid file identifier for the voice message.

Definition at line 34 of file InlineQueryResultCachedVoice.h.


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