1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 02:26:55 +01:00
MadelineProto/docs/TD_docs/constructors/inlineQueryResultDocument.md

1.0 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, ];

Or, if you're into Lua:

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