Skip to content

InputInlineQueryResultVoiceNote

Type · TDLib 1.8.67 · d1085f9c

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

ReplyMarkup

The message reply markup; pass null if none. Must be of type replyMarkupInlineKeyboard or null

input_message_content

InputMessageContent

The content of the message to be sent. Must be one of the following types: inputMessageText, inputMessageRichMessage, inputMessageVoiceNote, inputMessageInvoice, inputMessageLiveLocation, inputMessageLocation, inputMessageVenue or inputMessageContact