b24_im_recent
Retrieve the acting user's recent conversations, including dialog IDs, last messages, and unread counters. Use dialog IDs to fetch full message history.
Instructions
List the acting user's recent chats/dialogs (im.recent.get).
Returns recent conversations with their DIALOG_ID, last message, and unread counters. Use a DIALOG_ID with b24_im_dialog_messages to read history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip_chat | No | Skip group chats and show only 1:1 dialogs. | |
| webhook_url | No | Override the default incoming webhook for this call (https://<portal>/rest/<user_id>/<token>/). If omitted, uses personal_webhook, then the X-B24-Webhook HTTP header, then the BITRIX_WEBHOOK_URL env default. | |
| personal_webhook | No | Act as a specific user (their personal incoming webhook). Takes precedence over webhook_url. Required to write to the portal under that user's permissions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |