MadelineProto/docs/TD_docs/constructors/inlineQueryResultDocument.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

1.2 KiB

title description
inlineQueryResultDocument Represents a document cached on the telegram server

Constructor: inlineQueryResultDocument

Back to constructors index

Represents a document cached on the telegram server

Attributes:

Name Type Required Description
id string Yes Unique identifier of this result
document document Yes The document
title string Yes Document title
description string Yes Document description

Type: InlineQueryResult

Example:

$inlineQueryResultDocument = ['_' => 'inlineQueryResultDocument', 'id' => 'string', 'document' => document, 'title' => 'string', 'description' => 'string'];

PWRTelegram json-encoded version:

{"_": "inlineQueryResultDocument", "id": "string", "document": document, "title": "string", "description": "string"}

Or, if you're into Lua:

inlineQueryResultDocument={_='inlineQueryResultDocument', id='string', document=document, title='string', description='string'}