InputInlineQueryResultPhoto¶
Represents link to a JPEG image
InputInlineQueryResultPhoto(
id: string,
title: string,
description: string,
thumbnail_url: string,
photo_url: string,
photo_width: int32,
photo_height: int32,
reply_markup: ReplyMarkup,
input_message_content: InputMessageContent
) → InputInlineQueryResult
id¶
string
Unique identifier of the query result
title¶
string
Title of the result, if known
description¶
string
A short description of the result, if known
thumbnail_url¶
string
URL of the photo thumbnail, if it exists
photo_url¶
string
The URL of the JPEG photo (photo size must not exceed 5MB)
photo_width¶
int32
Width of the photo
photo_height¶
int32
Height of the photo
reply_markup¶
The message reply markup; pass null if none. Must be of type replyMarkupInlineKeyboard or null
input_message_content¶
The content of the message to be sent. Must be one of the following types: inputMessageText, inputMessageRichMessage, inputMessagePhoto, inputMessageInvoice, inputMessageLiveLocation, inputMessageLocation, inputMessageVenue or inputMessageContact