telegram_get_channel_info
Fetch detailed Telegram channel information such as title, description, member count, and invite link. Provide a channel username (@channel) or numeric ID to get structured data or readable markdown.
Instructions
Get detailed information about a Telegram channel.
Use this tool to retrieve metadata and statistics about a channel where the bot is a member or admin.
Args: channel_id: Channel username (e.g., '@mychannel') or numeric chat ID. response_format: Response format. Options: 'json' for structured data, 'markdown' for human-readable text. Default is 'markdown'.
Returns: A dictionary containing id, title, username, type, description, invite_link, and member_count. If response_format='markdown', returns formatted text content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | ||
| response_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||