Constructor: inputBotInlineResultPhoto

Back to constructors index



Name Type Required Description
id string Yes Result ID
type string Yes Result type (see bot API docs)
photo MessageMedia, Message, Update or InputPhoto Optional Photo to send
send_message InputBotInlineMessage Yes Message to send when the result is selected

Type: InputBotInlineResult


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

Or, if you’re into Lua:

inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id='string', type='string', photo=InputPhoto, send_message=InputBotInlineMessage}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.