check_session
Ping the Telegram Ads session to confirm authentication and retrieve account details including owner ID, cabinet, currency, and balance. If auth fails, prompts cookie refresh and session reload.
Instructions
Ping the current ads.telegram.org session.
Returns owner_id, cabinet (ton/eur/stars), currency, balance.
Does not return api_hash or cookies. Stars cabinets are reported but not used.
If ok=false with code=auth, tell the user to refresh cookies in .env and call reload_session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||