Get chat info
get_chat_infoRetrieve profile and metadata for any Telegram chat: user, bot, group, or channel. For forum chats, also list up to 20 topics.
Instructions
Load profile and metadata for one user, bot, group, or channel. Success: info dict; forum chats may include topics up to topics_limit. Full documentation: https://github.com/leshchenko1979/fast-mcp-telegram/blob/main/docs/Tools-Reference.md
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Target chat: numeric id (e.g. -100…), username without @, or 'me' for Saved Messages. | |
| topics_limit | No | Max forum topics to list when the chat is a forum. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| error | No | ||
| operation | No | ||
| code | No | ||
| params | No | ||
| exception | No | ||
| action | No | ||
| error_code | No | ||
| id | No | ||
| title | No | ||
| username | No | ||
| first_name | No | ||
| last_name | No | ||
| phone | No | ||
| is_forum | No | ||
| is_channel | No | ||
| is_group | No | ||
| is_user | No | ||
| is_bot | No | ||
| participants_count | No | ||
| topics | No | ||
| topics_has_more | No |