get_channel_messages
Retrieve the newest messages from a channel, group, or direct message. Paginate through history using count and offset parameters.
Instructions
Get messages from a channel, group or DM (newest first).
Args:
room_id: Room ID or room name of the channel/group/DM
count: Number of messages to retrieve (default: 20, max: 100)
offset: Skip this many newest messages — use to page back through history
instead of re-reading with a larger count (e.g. offset=20 to get
the 20 messages older than the first page)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room_id | Yes | ||
| count | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |