MadelineProtoDocs/old_docs/API_docs_v103/constructors/inputBotInlineResultPhoto.md
2019-12-27 17:48:04 +01:00

1.2 KiB

title description image
inputBotInlineResultPhoto Photo https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputBotInlineResultPhoto

Back to constructors index

Photo

Attributes:

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

Example:

$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}