Actions29
- Bot Actions
- Callback Actions
- Chat Actions
- File Actions
- Message Actions
- Thread Actions
Chat → Set Avatar
AI-generatedSummary
Uploads an input binary image to set the avatar for a VK Teams chat. VK Teams checks whether the bot has permission to change the chat avatar.
Inputs
- Chat ID (required) — ID of the chat whose avatar to set.
- Input Binary Field (required) — Name of the incoming item’s binary field containing the image; defaults to
data. The binary data must include a file name.
Output shape
A single item per input item, with the VK Teams API response in json.
The operation sends a POST upload to
/chats/avatar/set, attaching the image as theimagefile field. If the API request fails and Continue On Fail is enabled, the item contains anerrorfield injson.