InputInlineQueryResultVoiceNote¶
Represents a link to an opus-encoded audio file within an OGG container, single channel audio
InputInlineQueryResultVoiceNote(
id: string,
title: string,
voice_note_url: string,
voice_note_duration: int32,
reply_markup: ReplyMarkup,
input_message_content: InputMessageContent
) → InputInlineQueryResult
id¶
string
Unique identifier of the query result
title¶
string
Title of the voice note
voice_note_url¶
string
The URL of the voice note file
voice_note_duration¶
int32
Duration of the voice note, in seconds
reply_markup¶
The message reply markup; pass null if none. Must be of type replyMarkupInlineKeyboard or null
input_message_content¶
The content of the message to be sent. Must be one of the following types: inputMessageText, inputMessageRichMessage, inputMessageVoiceNote, inputMessageInvoice, inputMessageLiveLocation, inputMessageLocation, inputMessageVenue or inputMessageContact