|
tgbot-cpp
|
Represents a link to a voice recording in an .OGG container encoded with OPUS. More...
#include <InlineQueryResultVoice.h>
Public Types | |
| typedef std::shared_ptr< InlineQueryResultVoice > | Ptr |
| Public Types inherited from TgBot::InlineQueryResult | |
| typedef std::shared_ptr< InlineQueryResult > | Ptr |
Public Member Functions | |
| InlineQueryResultVoice () | |
| Public Member Functions inherited from TgBot::InlineQueryResult | |
| InlineQueryResult () | |
| virtual | ~InlineQueryResult () |
Public Attributes | |
| std::string | voiceUrl |
| A valid URL for the voice recording. | |
| std::string | title |
| Recording 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. | |
| std::vector< MessageEntity::Ptr > | captionEntities |
| Optional. List of special entities that appear in the caption, which can be specified instead of parseMode. | |
| std::int32_t | voiceDuration |
| Optional. Recording duration in seconds. | |
| InputMessageContent::Ptr | inputMessageContent |
| Optional. Content of the message to be sent instead of the voice recording. | |
| 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 |
Represents a link to a voice recording in an .OGG container encoded with OPUS.
By default, this voice recording will be sent by the user. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the the voice message.
Definition at line 23 of file InlineQueryResultVoice.h.
| typedef std::shared_ptr<InlineQueryResultVoice> TgBot::InlineQueryResultVoice::Ptr |
Definition at line 28 of file InlineQueryResultVoice.h.
|
inline |
Definition at line 30 of file InlineQueryResultVoice.h.
| std::string TgBot::InlineQueryResultVoice::caption |
Optional. Caption, 0-1024 characters after entities parsing.
Definition at line 47 of file InlineQueryResultVoice.h.
| std::vector<MessageEntity::Ptr> TgBot::InlineQueryResultVoice::captionEntities |
Optional. List of special entities that appear in the caption, which can be specified instead of parseMode.
Definition at line 59 of file InlineQueryResultVoice.h.
| InputMessageContent::Ptr TgBot::InlineQueryResultVoice::inputMessageContent |
Optional. Content of the message to be sent instead of the voice recording.
Definition at line 69 of file InlineQueryResultVoice.h.
| std::string TgBot::InlineQueryResultVoice::parseMode |
Optional. Mode for parsing entities in the voice message caption.
See formatting options for more details.
Definition at line 54 of file InlineQueryResultVoice.h.
| std::string TgBot::InlineQueryResultVoice::title |
Recording title.
Definition at line 42 of file InlineQueryResultVoice.h.
|
static |
Definition at line 26 of file InlineQueryResultVoice.h.
| std::int32_t TgBot::InlineQueryResultVoice::voiceDuration |
Optional. Recording duration in seconds.
Definition at line 64 of file InlineQueryResultVoice.h.
| std::string TgBot::InlineQueryResultVoice::voiceUrl |
A valid URL for the voice recording.
Definition at line 37 of file InlineQueryResultVoice.h.