MadelineProto/docs/TD_docs/constructors/inlineQueryResultVoice.md
2017-07-23 16:33:46 +02: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'}