list-channel-messages
list-channel-messagesRetrieve team channel messages in reverse chronological order, with automatic pagination and continuation tokens for large histories. Use search-m365 for targeted keyword searches.
Instructions
List messages of a team channel, newest first (Graph does not support server-side filtering here; use search-m365 for keyword search).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Continuation token (nextCursor of a previous truncated response). Continues that listing; other query inputs are ignored. | |
| teamId | Yes | Value for teamId | |
| maxItems | No | Maximum items to return across pages (default 50, max 500). Pagination via @odata.nextLink is handled automatically; when the result is truncated, pass its nextCursor as cursor to continue. | |
| channelId | Yes | Value for channelId |