Link Telegram
Cabinet Account Linking
Link Telegram
Link Telegram account via WebApp initData, OIDC id_token, or Login Widget.
POST
Link Telegram
Documentation Index
Fetch the complete documentation index at: https://docs.bedolagam.ru/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Request for linking Telegram account. Supply EITHER init_data, id_token, OR widget fields.
Telegram WebApp initData string
Maximum string length:
4096Telegram OIDC id_token (JWT)
Maximum string length:
4096Telegram user ID from Login Widget
User's first name
Maximum string length:
256User's last name
Maximum string length:
256User's username
Maximum string length:
256User's photo URL
Maximum string length:
2048Unix timestamp of authentication
Authentication hash (SHA-256 hex)
Required string length:
64