Documentation - v0.32.0
    Preparing search index...

    Interface UrlAuthButton

    A button authorizing the user on a website

    interface UrlAuthButton {
        bot?: TypeInputUser;
        fwdText?: string;
        requestWriteAccess?: boolean;
        style?: BotKeyboardButtonStyle;
        text: string;
        type: "url_auth";
        url: string;
    }

    Hierarchy

    • BotKeyboardButtonBase
      • UrlAuthButton
    Index

    Properties

    Bot which will be used for user authorization.

    current bot
    
    fwdText?: string

    Button label when forwarded

    requestWriteAccess?: boolean

    Whether to request the permission for the bot to send messages to the user

    Style of the button

    text: string

    Text of the button

    type: "url_auth"
    url: string

    Authorization URL