Documentation - v0.32.0
    Preparing search index...

    Interface CallbackButton

    A button sending a callback query to the bot

    interface CallbackButton {
        data: Uint8Array;
        requiresPassword?: boolean;
        style?: BotKeyboardButtonStyle;
        text: string;
        type: "callback";
    }

    Hierarchy

    • BotKeyboardButtonBase
      • CallbackButton
    Index

    Properties

    data: Uint8Array

    Callback data (1-64 bytes)

    requiresPassword?: boolean

    Whether the user should verify their identity by entering their 2FA password

    Style of the button

    text: string

    Text of the button

    type: "callback"