1#ifndef TGBOT_INLINEQUERYRESULTPHOTO_H
2#define TGBOT_INLINEQUERYRESULTPHOTO_H
24 static const std::string
TYPE;
26 typedef std::shared_ptr<InlineQueryResultPhoto>
Ptr;
This object represents one result of an inline query.
std::string type
Type of the result.
Represents a link to a photo. By default, this photo will be sent by the user with optional caption....
static const std::string TYPE
std::string photoUrl
A valid URL of the photo. Photo must be in jpeg format. Photo size must not exceed 5MB.
std::string thumbnailUrl
URL of the thumbnail for the photo.
std::int32_t photoHeight
Optional. Height 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.
std::string caption
Optional. Caption of the photo to be sent, 0-1024 characters after entities parsing.
std::shared_ptr< InlineQueryResultPhoto > Ptr
InputMessageContent::Ptr inputMessageContent
Optional. Content of the message to be sent instead of the photo.
std::int32_t photoWidth
Optional. Width of the photo.
std::string title
Optional. Title for the result.
std::vector< MessageEntity::Ptr > captionEntities
Optional. List of special entities that appear in the caption, which can be specified instead of pars...
std::shared_ptr< InputMessageContent > Ptr