1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 00:26:57 +01:00
MadelineProto/docs/TD_docs/constructors/inlineQueryResultDocument.md
2017-07-23 16:11:02 +02: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, }