Resolve Telegram Username to Entity ID
resolve_usernameResolve a public Telegram username into its entity ID and object type (User, Channel, Group). Use this before ID-based tools when you only have a username handle.
Instructions
Resolve a public @username to its underlying Telegram entity ID and object type (User, Channel, Group). Use before calling ID-based tools when only a username handle is known.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Optional account label for multi-account environments. If omitted in single-mode, the default account is used. In multi-mode without an account, read-only tools fan out across all configured accounts. | |
| username | Yes | Telegram username handle (without the leading '@' symbol). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |