get_history
Fetch recent messages from a Telegram chat using its ID, username, or link. Set a limit to control the number of messages returned.
Instructions
Последние сообщения чата (chat = id/username/ссылка/название → resolve).
T6: iter_messages(entity, limit) → {id, date, sender, text}. read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |