mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 19:56:56 +01:00
1.2 KiB
1.2 KiB
title | description |
---|---|
inlineQueryResultDocument | Represents a document cached on the telegram server |
Constructor: inlineQueryResultDocument
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, }