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

Extend the sending message format #317

Open
zhangwenxinag opened this issue Dec 13, 2024 · 1 comment
Open

Extend the sending message format #317

zhangwenxinag opened this issue Dec 13, 2024 · 1 comment
Assignees
Labels
advice Information how to use/implement the component

Comments

@zhangwenxinag
Copy link

Hello, can I support sending html messages?
Let's say I need to send a file. But this file is already on the server. So I just need to send a file id. But I need to show the file style on the style. Only local files are currently supported, which is a shame. I'd like to expand it, but I have no ideas at the moment.

@OvidijusParsiunas
Copy link
Owner

Hi @zhangwenxinag.
Just to confirm if I understand correctly. You don't want to send the actual file, but just want to send a file id?

Could perhaps respond with something like this work? You could then use the file name to interpret what you need:
{files: [{name: 'file_1.txt'}]}

If it does not please let me know more about how your app should work
Thanks!

@OvidijusParsiunas OvidijusParsiunas self-assigned this Dec 14, 2024
@OvidijusParsiunas OvidijusParsiunas added the advice Information how to use/implement the component label Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
advice Information how to use/implement the component
Projects
None yet
Development

No branches or pull requests

2 participants