login(text, loginUrl) {
        return this.add({
            text,
            login_url: typeof loginUrl === "string"
                ? { url: loginUrl }
                : loginUrl,
        });
    }
/**
     * Adds a new login button. This can be used as a replacement for the
     * Telegram Login Widget. You must specify an HTTP URL used to automatically
     * authorize the user.
     *
     * @param text The text to display
     * @param loginUrl The login URL as string or `LoginUrl` object
     */
Adds a new login button. This can be used as a replacement for the
Telegram Login Widget. You must specify an HTTP URL used to automatically
authorize the user.

@param text The text to display
@param loginUrl The login URL as string or `LoginUrl` object
Adds a new login button . This can be used as a replacement for the Telegram Login Widget . You must specify an HTTP URL used to automatically authorize the user . @param text The text to display @param loginUrl The login URL as string or ` LoginUrl ` object
login(text, loginUrl) {
        return this.add({
            text,
            login_url: typeof loginUrl === "string"
                ? { url: loginUrl }
                : loginUrl,
        });
    }
login ( text , loginUrl ) { return this . add ( { text , login_url : typeof loginUrl === "string" ? { url : loginUrl } : loginUrl , } ) ; }
Adds a new login button.
Adds a new login button .