Skip to content

common: Add option to reply to a chat message with a file - #1083

Open
thyal wants to merge 1 commit into
mainfrom
thomas/PAN-2780-reply-with-file
Open

common: Add option to reply to a chat message with a file#1083
thyal wants to merge 1 commit into
mainfrom
thomas/PAN-2780-reply-with-file

Conversation

@thyal

@thyal thyal commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Description

Add option to reply to a chat message with a file, and also support sending files as broadcast chat messages.

sendFiles now takes an options argument:

sendFiles(files: File[], options?: { parentId?: string; isBroadcast?: boolean });

Summary:

Related Issue:

Testing

  1. pnpm build && pnpm dev
  2. Open the Room Connection With File Sharing story (x2)
  3. Send a chat message, share a file and verify that you can share it as a reply to the previous chat message.
  4. Verify that it's displayed correctly in the prebuilt ui as well

Screenshots/GIFs (if applicable)

Checklist

  • My code follows the project's coding standards.
  • Prefixed the PR title and commit messages with the service or package name
  • I have written unit tests (if applicable).
  • I have updated the documentation (if applicable).
  • By submitting this pull request, I confirm that my contribution is made
    under the terms of the MIT license.

Additional Information

@changeset-bot

changeset-bot Bot commented Aug 21, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 1ba3ce6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@whereby.com/core Patch
@whereby.com/browser-sdk Patch
@whereby.com/assistant-sdk Patch
@whereby.com/react-native-sdk Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@thyal
thyal requested a review from a team August 21, 2026 15:09

@richtrwhereby richtrwhereby left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and works well ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants