mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 13:46:54 +01:00
1.0 KiB
1.0 KiB
title | description |
---|---|
inlineQueryResultVoice | Represents a voice cached on the telegram server |
Constructor: inlineQueryResultVoice
Represents a voice cached on the telegram server
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | string | Yes | Unique identifier of this result |
voice | voice | Yes | The voice |
title | string | Yes | Title of the voice file |
Type: InlineQueryResult
Example:
$inlineQueryResultVoice = ['_' => 'inlineQueryResultVoice', 'id' => 'string', 'voice' => voice, 'title' => 'string'];
PWRTelegram json-encoded version:
{"_": "inlineQueryResultVoice", "id": "string", "voice": voice, "title": "string"}
Or, if you're into Lua:
inlineQueryResultVoice={_='inlineQueryResultVoice', id='string', voice=voice, title='string'}