useLoginWithTelegram
hook.useLoginWithTelegram
hook, ensure that Telegram is enabled in Socials tab of the Login Methods page on the the Privy dashboardstate
variable returned by the
useLoginWithTelegram
hook.useLoginWithTelegram
hook to run custom logic after a successful login or to handle errors that occur during the flow.onComplete
onError