VK icon

VK

Работа с API ВКонтакте (личная страница)

💬 Сообщения → Список диалогов

AI-generated

Summary

Retrieve a list of VK dialogs (conversations) with options to filter and paginate the results.

Inputs

  • Количество (required) — Number of dialogs to return (min 1, max 200). Defaults to 20.
  • Фильтр (required) — Filter for which dialogs to include: all, unread, important, or unanswered. Defaults to all.
  • Смещение — Offset for pagination when auto-pagination is disabled. Defaults to 0.
  • Авто-пагинация — When enabled, automatically loads all dialog pages up to maxItems.
  • Размер страницы — Number of dialogs to retrieve per request during auto-pagination (min 1, max 1000). Defaults to 100.
  • Максимум элементов — Total maximum number of dialogs to retrieve during auto-pagination. Defaults to 1000.

Output shape

a list of dialog objects, each representing a conversation as returned by VK API's messages.getConversations method

If autoPagination is enabled, the node retrieves multiple pages until maxItems is reached or no more dialogs are available. Otherwise, returns a single page with specified count and offset. Output includes pairedItem for input item association. Errors are thrown if VK API returns errors, unless 'Continue On Fail' is enabled.

Examples

Example 1: Retrieve up to 50 unread dialogs starting at offset 0 without auto-pagination.

Set Количество to 50, Фильтр to 'непрочитанные' (unread), Авто-пагинация to false, Смещение to 0.

Example 2: Retrieve all important dialogs up to 500 items with auto-pagination.

Set Количество to 100 (page size), Фильтр to 'важные' (important), Авто-пагинация to true, Размер страницы to 100, Максимум элементов to 500.

Links

Discussion