tgbot-cpp
Loading...
Searching...
No Matches
InlineQueryResultCachedAudio.h
Go to the documentation of this file.
1#ifndef TGBOT_INLINEQUERYRESULTCACHEDAUDIO_H
2#define TGBOT_INLINEQUERYRESULTCACHEDAUDIO_H
3
7
8#include <memory>
9#include <string>
10#include <vector>
11
12namespace TgBot {
13
23
24public:
25 static const std::string TYPE;
26
27 typedef std::shared_ptr<InlineQueryResultCachedAudio> Ptr;
28
32
36 std::string audioFileId;
37
41 std::string caption;
42
48 std::string parseMode;
49
53 std::vector<MessageEntity::Ptr> captionEntities;
54
59};
60}
61
62#endif //TGBOT_INLINEQUERYRESULTCACHEDAUDIO_H
Represents a link to an MP3 audio file stored on the Telegram servers.
std::string audioFileId
A valid file identifier for the audio file.
InputMessageContent::Ptr inputMessageContent
Optional. Content of the message to be sent instead of the audio.
std::shared_ptr< InlineQueryResultCachedAudio > Ptr
std::vector< MessageEntity::Ptr > captionEntities
Optional. List of special entities that appear in the caption, which can be specified instead of pars...
std::string parseMode
Optional. Mode for parsing entities in the audio caption.
std::string caption
Optional. Caption, 0-1024 characters after entities parsing.
This object represents one result of an inline query.
std::string type
Type of the result.
std::shared_ptr< InputMessageContent > Ptr
Definition Api.h:40