• Create a keyboard button with a link.

    Used for inline keyboards, not reply!

    Parameters

    • text: string

      Button text

    • data: string | Uint8Array

      Callback data (1-64 bytes). String will be converted to Buffer

    • OptionalrequiresPassword: boolean

      Whether the user should verify their identity by entering 2FA password. See more: tl.RawKeyboardButtonCallback#requiresPassword

    Returns tl.RawKeyboardButtonCallback