MadelineProtoDocs/old_docs/API_docs_v68/constructors/inputBotInlineResult.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

2.1 KiB

title description image
inputBotInlineResult Bot inline result https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputBotInlineResult

Back to constructors index

Bot inline result

Attributes:

Name Type Required Description
id string Yes ID
type string Yes Type
title string Optional Title
description string Optional Description
url string Optional URL
thumb_url string Optional Thumbnail URL
content_url string Optional Content URL
content_type string Optional Content type
w int Optional Width
h int Optional Height
duration int Optional Duration
send_message InputBotInlineMessage Yes Message to send

Type: InputBotInlineResult

Example:

$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage];

PWRTelegram json-encoded version:

{"_": "inputBotInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": InputBotInlineMessage}

Or, if you're into Lua:

inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=InputBotInlineMessage}