Documentation - v0.27.1
    Preparing search index...
    • Create a keyboard button with a link.

      Used for inline keyboards, not reply!

      Parameters

      • text: string

        Button text

      • data: string | Uint8Array<ArrayBufferLike>

        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 RawKeyboardButtonCallback