VK Teams icon

VK Teams

Send and read data through the VK Teams Bot API

Chat → Set Rules

AI-generated

Summary

Set or clear the rules for a VK Teams chat by sending the rules text to the chat rules endpoint. The operation requires the chat ID; an empty Rules value clears the rules.

Inputs

  • Chat ID (required) — ID of the chat whose rules to change.
  • Rules — Rules text to set. Defaults to an empty string, which clears the chat rules.

Output shape

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

The operation makes a chat rules update request. VK Teams checks the bot's chat permissions; API errors are surfaced as node errors unless Continue On Fail is enabled.

Links

Discussion