VK Teams icon

VK Teams

Send and read data through the VK Teams Bot API

Chat → Add Members

AI-generated

Summary

Add one or more users to a VK Teams chat by sending their IDs to the chat members endpoint. The server checks whether this private method is available and whether the bot has permission; availability can vary by installation.

Inputs

  • Chat ID (required) — ID of the chat to add users to.
  • Members (JSON) (required) — JSON array of distinct, nonempty user ID strings, with at least one ID. For example: ["user@example.com"]. Expressions can return an array.

Output shape

A single JSON response object from the VK Teams API for each input item.

A response with ok=false and a nonempty failures array is returned as data when it has no description or error field; other unsuccessful or invalid responses raise an error. With Continue On Fail enabled, errors are returned in an item with an error field.

Links

Discussion