Pachca icon

Pachca

Interact with Pachca API

Chat → Update Avatar

AI-generated

Summary

Update the avatar image of a specified chat by uploading a binary image file to Pachca.

Inputs

  • ID (required) — The unique identifier of the chat whose avatar you want to update. You can specify this by selecting from a list, entering a chat ID directly, or providing a valid chat URL from which the ID is extracted.
  • Input Binary Field (required) — The name of the binary property that contains the avatar image data. Typically provided by a previous node like an HTTP Request or Read Binary File node that loads the image to be uploaded.

Output shape

a single JSON object representing the updated chat avatar metadata or API response

The operation uploads the image from the specified binary field to the avatar endpoint of the specified chat ID. The output contains the server response reflecting the updated avatar. If the upload fails, an error is returned with details.

Links

Discussion