List messages
sendbird_list_messagesList messages in a channel, anchored at a timestamp or message id. Provide EITHER message_ts (unix ms) OR message_id. Platform API: GET /{channel_type}/{channel_url}/messages. Returns { messages[] }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Include the anchor message itself. | |
| reverse | No | Return in reverse chronological order. | |
| user_ids | No | Comma-separated sender user ids to filter on. | |
| message_id | No | Anchor message id. Provide this OR message_ts. | |
| message_ts | No | Anchor timestamp in unix milliseconds. Provide this OR message_id. | |
| next_limit | No | Number of messages after the anchor, 0-200. | |
| prev_limit | No | Number of messages before the anchor, 0-200. | |
| channel_url | Yes | Channel URL (percent-encoded automatically). | |
| channel_type | Yes | Channel type: group_channels (member-based) or open_channels (public, participant-based). | |
| custom_types | No | Comma-separated message custom types to filter on. | |
| message_type | No | Filter by message type: MESG (text), FILE, or ADMM (admin). |