VK Teams icon

VK Teams

Send and read data through the VK Teams Bot API

Message → Send Voice

AI-generated

Summary

Send a voice message to a VK Teams chat, either by uploading binary audio or reusing a file or voice ID. Optionally reply to existing messages, forward messages from another chat, and add an inline keyboard.

Inputs

  • Chat ID (required) — Destination chat ID.
  • File Source — Choose Binary (default) to upload audio from the Input Binary Field, or File ID to reuse an existing VK Teams file or voice ID on the same server.
  • File ID (required) — Existing file or voice ID, used when File Source is File ID. No binary data is read or uploaded in this mode.
  • Input Binary Field (required) — Binary field containing the audio to upload when File Source is Binary; defaults to data.
  • Send Mode — Choose None (default), Reply, or Forward. Reply and Forward are mutually exclusive; fields for the other mode are ignored.
  • Reply Message IDs (JSON) (required) — When Send Mode is Reply, provide a nonempty JSON array of unique string message IDs. Keep IDs as strings.
  • Forward Chat ID (required) — When Send Mode is Forward, the source chat containing the messages.
  • Forward Message IDs (JSON) (required) — When Send Mode is Forward, provide a nonempty JSON array of unique string message IDs from the source chat. Keep IDs as strings.
  • Keyboard — Optionally add an inline keyboard using the button editor or JSON. Buttons can use callback data or URLs, with base, primary, or attention styling; defaults to None.

Output shape

One item per input item, containing the VK Teams API response in json.

The operation uploads the selected binary field when File Source is Binary; it returns the API response for both upload and File ID modes. API errors are thrown unless the node is configured to continue on fail, in which case that item's json contains an error string.

Links

Discussion