Get chat info
get_chat_infoFetch profile and metadata for any Telegram chat (user, bot, group, channel) by ID or username, including forum topics and common chats.
Instructions
Load profile and metadata for one user, bot, group, or channel. Success: info dict; forum chats may include topics up to topics_limit; user targets may include common_chats up to common_chats_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. | |
| common_chats_limit | No | Max common groups to list for user targets. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ok | No | ||
| code | No | ||
| error | No | ||
| phone | No | ||
| title | No | ||
| action | No | ||
| is_bot | No | ||
| params | No | ||
| topics | No | ||
| is_user | No | ||
| is_forum | No | ||
| is_group | No | ||
| username | No | ||
| exception | No | ||
| last_name | No | ||
| operation | No | ||
| error_code | No | ||
| first_name | No | ||
| is_channel | No | ||
| common_chats | No | ||
| topics_has_more | No | ||
| participants_count | No | ||
| common_chats_has_more | No |