• Button to authorize a user

    Used for inline keyboards, not reply!

    Parameters

    • text: string

      Button label

    • url: string

      Authorization URL (see tl.RawInputKeyboardButtonUrlAuth)

    • params: { bot?: TypeInputUser; fwdText?: string; requestWriteAccess?: boolean } = {}
      • Optionalbot?: TypeInputUser

        Bot, which will be used for user authorization. url domain must be the same as the domain linked with the bot.

        current bot
        
      • OptionalfwdText?: string

        Button label when forwarded

      • OptionalrequestWriteAccess?: boolean

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

    Returns tl.RawInputKeyboardButtonUrlAuth