1#ifndef TGBOT_INLINEQUERYRESULTCACHEDPHOTO_H
2#define TGBOT_INLINEQUERYRESULTCACHEDPHOTO_H
23 static const std::string
TYPE;
25 typedef std::shared_ptr<InlineQueryResultCachedPhoto>
Ptr;
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
static const std::string TYPE
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.
InlineQueryResultCachedPhoto()
This object represents one result of an inline query.
std::string type
Type of the result.
std::shared_ptr< InputMessageContent > Ptr