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

1.0 KiB

title description
inlineQueryResultVoice Represents a voice cached on the telegram server

Constructor: inlineQueryResultVoice

Back to constructors index

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'}