dm_messages_list
List messages in a chat, most recent first. Optionally filter by direction or status. Inbound messages created by a tap on an interactive element you sent (quick reply, button postback, Instagram ice breaker, Telegram callback query) carry tapped_action: {kind, payload, title} — read the payload from there instead of digging through platform_data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (zero-indexed, default 0) | |
| status | No | Filter by status (pending, published, failed_waiting_for_retry, failed, received) | |
| chat_id | Yes | Chat hashid OR external_conversation_id | |
| per_page | No | Items per page (default 20) | |
| direction | No | Filter by direction |