MadelineProto/old_docs/API_docs_v51/constructors/botInlineResult.md

1.2 KiB

title description
botInlineResult botInlineResult attributes, type and example

Constructor: botInlineResult

Back to constructors index

Attributes:

Name Type Required
id string Required
type string Required
title string Optional
description string Optional
url string Optional
thumb_url string Optional
content_url string Optional
content_type string Optional
w int Optional
h int Optional
duration int Optional
send_message BotInlineMessage Required

Type: BotInlineResult

Example:

$botInlineResult = ['_' => 'botInlineResult', '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' => BotInlineMessage, ];