tgbot-cpp
Loading...
Searching...
No Matches
InlineQueryResultCachedPhoto.h
Go to the documentation of this file.
1#ifndef TGBOT_INLINEQUERYRESULTCACHEDPHOTO_H
2#define TGBOT_INLINEQUERYRESULTCACHEDPHOTO_H
3
7
8#include <string>
9#include <memory>
10#include <vector>
11
12namespace TgBot {
13
22public:
23 static const std::string TYPE;
24
25 typedef std::shared_ptr<InlineQueryResultCachedPhoto> Ptr;
26
30
34 std::string photoFileId;
35
39 std::string title;
40
44 std::string description;
45
49 std::string caption;
50
55 std::string parseMode;
56
60 std::vector<MessageEntity::Ptr> captionEntities;
61
66};
67}
68
69#endif //TGBOT_INLINEQUERYRESULTCACHEDPHOTO_H
Represents a link to a photo stored on the Telegram servers. By default, this photo will be sent by t...
std::shared_ptr< InlineQueryResultCachedPhoto > Ptr
InputMessageContent::Ptr inputMessageContent
Optional. Content of the message to be sent instead of the photo.
std::string caption
Optional. Caption of the photo to be sent, 0-1024 characters after entities parsing.
std::vector< MessageEntity::Ptr > captionEntities
Optional. List of special entities that appear in the caption, which can be specified instead of pars...
std::string title
Optional. Title for the result.
std::string photoFileId
A valid file identifier of the photo.
std::string parseMode
Optional. Mode for parsing entities in the photo caption. See https://core.telegram....
std::string description
Optional. Short description of the result.
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