Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Hook for verifying Telegram authentication
useVerifyTelegram
TelegramAuthResponse
import { useVerifyTelegram } from "@getpara/react-native-wallet";
import { useVerifyTelegram } from "@getpara/react-native-wallet"; function TelegramLoginHandler({ telegramAuthResponse }) { const { verifyTelegramAsync, isPending } = useVerifyTelegram(); const handleVerify = async () => { try { await verifyTelegramAsync({ telegramAuthResponse }); } catch (err) { console.error(err); } }; return <Button title={isPending ? "Verifying..." : "Verify Telegram"} onPress={handleVerify} disabled={isPending} />; }