Telegram (Direct & OAuth)
Direct
{
"type": "Telegram",
"data": {
"id": 13312222,
"first_name": "string",
"last_name": "string",
"username": "string",
"photo_url": "string",
"auth_date": 1341234231,
"hash": "string"
}
}OAuth Variant
POST /oauth/initwithprovider=telegramUser authorizes in new tab
Our
/oauth/callbackredirects to yourredirect_uriwithwallet_oauth_*paramsFinalize:
{
"type": "TelegramOAuth",
"data": { "state": "<wallet_oauth_state>", "code": "<wallet_oauth_code>" }
}Example callback (truncated in query params as in your spec).
Last updated