Chat icon

Chat

Interact with the Chat API

Actions253

Chat Room → Send File

AI-generated

Summary

Sends a file to a chat room.

Inputs

  • accountId (required) — The Approach account to use.
  • chatRoomId (required) — The chat room where the file will be sent.
  • binaryPropertyName (required) — Name of the input binary property containing the file data (default: 'data').
  • fileCaption — Optional caption to send with the file.

Output shape

object

Typically returns the sent message object with attachment details.

Links

Discussion