InlineQueryResultPhoto

Link to a photo

Members

Functions

isNull
bool isNull()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

caption
string caption;

Caption of the photo to be sent

description
string description;

Short description of the result

id
string id;

Unique identifier for this result

input_message_content
InputMessageContent input_message_content;

Content of the message to be sent instead of the photo

parse_mode
ParseMode parse_mode;

Parse mode of the caption

photo_height
int photo_height;

Height of the photo

photo_url
string photo_url;

A valid URL of the photo. Photo must be in jpeg format. Photo size must not exceed 5MB

photo_width
int photo_width;

Width of the photo

reply_markup
InlineKeyboardMarkup reply_markup;

Inline keyboard attached to the message

thumb_url
string thumb_url;

URL of the thumbnail for the photo

title
string title;

Title for the result

type
string type;

Type of the result, must be "photo"

See Also

Meta