Link Search Menu Expand Document

Constructor: inputBotInlineResultPhoto

Back to constructors index

Photo

Attributes:

NameTypeRequiredDescription
idstringYesResult ID
typestringYesResult type (see bot API docs)
photoMessageMedia, Message, Update or InputPhotoOptionalPhoto to send
send_messageInputBotInlineMessageYesMessage to send when the result is selected

Type: InputBotInlineResult

Example:

$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage];