Yandex Messenger icon

Yandex Messenger

Send messages, manage chats, channels and polls via Yandex Messenger Bot API

Actions11

Message → Delete

AI-generated

Summary

Delete a message from a Yandex Messenger chat or user conversation by sending its recipient and message ID to the bot API.

Inputs

  • Send To (required) — Choose a group chat by Chat ID or a user by login.
  • Chat ID (required) — Group chat ID; the bot must be a member of the chat. Shown when Send To is Group Chat.
  • User Login (required) — User login. Shown when Send To is User.
  • Message ID (required) — ID of the message to delete.

Output shape

One item per input item, with the API response in its JSON field.

The operation makes a POST request to the Yandex Messenger delete endpoint. If Continue On Fail is enabled, an item that encounters an error contains an error field instead.

Links

Discussion