get_messages
Retrieve recent messages from a Telegram chat, channel, or group using its username, ID, or title. Set a limit up to 100 to get message details such as sender, date, and text.
Instructions
Get recent messages from a Telegram chat/channel/group.
Args: entity: Chat username (e.g. @some_channel), chat ID, or title. limit: Number of messages to retrieve (default 20, max 100).
Returns: List of recent messages with id, date, sender, text, has_document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| entity | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |