VK Teams icon

VK Teams

Send and read data through the VK Teams Bot API

Chat → Block User

AI-generated

Summary

Blocks the specified user in a VK Teams chat, optionally deleting that user’s recent messages. VK Teams checks whether the bot has permission to perform this moderation action.

Inputs

  • Chat ID (required) — The chat where the user will be blocked.
  • User ID (required) — The ID of the user to block.
  • Delete Last Messages — Whether to also delete the user’s recent messages; defaults to false.

Output shape

A single item containing the VK Teams API response in its JSON field for each input item.

The operation sends a request to the VK Teams block-user endpoint. API errors are raised unless the node is configured to continue on fail, in which case the item contains an error field.

Links

Discussion