Interface InputInlineQueryResultAudio

Represents a link to an MP3 audio file. Subtype of InputInlineQueryResult.

interface InputInlineQueryResultAudio {
    @type: "inputInlineQueryResultAudio";
    audio_duration: number;
    audio_url: string;
    id: string;
    input_message_content: InputMessageContent;
    performer: string;
    reply_markup: ReplyMarkup;
    title: string;
}

Properties

@type: "inputInlineQueryResultAudio"
audio_duration: number

Audio file duration, in seconds.

audio_url: string

The URL of the audio file.

id: string

Unique identifier of the query result.

input_message_content: InputMessageContent

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

performer: string

Performer of the audio file.

reply_markup: ReplyMarkup

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

title: string

Title of the audio file.