Resolve Telegram Username to Entity ID
resolve_usernameMaps a public @username to its Telegram entity ID and type (User, Channel, Group). Run before ID-based tools when only a handle is known; read-only.
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. Read-only operation.
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 |