Interface CallbackQueryAnswer

Contains a bot's answer to a callback query.

interface CallbackQueryAnswer {
    @type: "callbackQueryAnswer";
    show_alert?: boolean;
    text: string;
    url: string;
}

Properties

@type: "callbackQueryAnswer"
show_alert?: boolean

True, if an alert must be shown to the user instead of a toast notification.

text: string

Text of the answer.

url: string

URL to be opened.