Skip to main content
A hook for linking a Telegram account to the current user. This is a convenience wrapper around useLinkOAuth for Telegram provider.

Returns

An object containing the linkTelegram function and oauthState.