TDLib v0.0.2 TDLib.Object.InputInlineQueryResultVoiceNote View Source

Represents a link to an opus-encoded audio file within an OGG container, single channel audio.

NameTypeDescription
idstringUnique identifier of the query result.
titlestringTitle of the voice note.
voice_note_urlstringThe URL of the voice note file.
voice_note_durationnumberDuration of the voice note, in seconds.
reply_markupReplyMarkupThe message reply markup. Must be of type replyMarkupInlineKeyboard or null.
input_message_contentInputMessageContentThe content of the message to be sent. Must be one of the following types: InputMessageText, InputMessageVoiceNote, InputMessageLocation, InputMessageVenue or InputMessageContact.

More details on telegram’s documentation.