VK Teams icon

VK Teams

Send and read data through the VK Teams Bot API

Message → Delete Messages

AI-generated

Summary

Deletes one or more messages from a VK Teams chat by sending their IDs and the chat ID to the VK Teams Bot API. Use it when a workflow needs to remove selected messages; the API checks whether the bot has permission to delete them.

Inputs

  • Chat ID (required) — ID of the chat containing the messages.
  • Message IDs (required) — Add one or more message IDs. IDs must be nonempty strings and unique; preserve large numeric IDs as strings.

Output shape

A single item per input item, with the VK Teams API response in its JSON field.

The operation makes a GET request to /messages/deleteMessages with chatId and the message IDs. API errors are raised; with n8n's Continue On Fail enabled, the item instead contains an error field.

Links

Discussion