Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for attaching custom attachments in message input #2450

Open
benlammers opened this issue Mar 5, 2024 · 0 comments
Open

Allow for attaching custom attachments in message input #2450

benlammers opened this issue Mar 5, 2024 · 0 comments

Comments

@benlammers
Copy link

Motivation

Would like to have the ability to add custom attachments while drafting a message similar to the experience of attaching a file or image. The docs outline the ability to send a message with a custom attachment but not to store an attachment on the input state.

Proposed solution

Add a function to the MessageInputContext for setAttachments and expose attachments, so that custom attachments can be added and removed when drafting a message before sending it.

Acceptance Criteria

Ability to attach custom attachments to a message when drafting it, to be able to build an experience similar to attaching files or images but with custom attachments.

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

No branches or pull requests

1 participant