Stream Chat icon

Stream Chat

Server-side Stream Chat operations

Channel → Send File

AI-generated

Summary

Send a file to a specified Stream Chat channel by uploading a local file to that channel.

Inputs

  • Channel Type — Type of the channel such as "messaging", "team", or "livestream". Defaults to "messaging".
  • Channel ID (required) — Unique identifier of the target channel to send the file to (e.g., "general", "random").
  • File Path (required) — Local file path of the file to upload and send to the channel.
  • File Name — Optional name to assign to the uploaded file.

Output shape

a single JSON object reflecting the result of the file upload and send operation

The output JSON includes details about the uploaded file and associated message sent to the channel. Errors will cause the node to fail unless continueOnFail is enabled.

Discussion