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

WebHook for sending message #30

Open
chniter opened this issue Jul 13, 2021 · 4 comments
Open

WebHook for sending message #30

chniter opened this issue Jul 13, 2021 · 4 comments

Comments

@chniter
Copy link

chniter commented Jul 13, 2021

Hello,

It is possible to configure a webhook Url foreach user, and then use this Url to send a message to the user?

thanks

@zucher
Copy link

zucher commented Jul 13, 2021

Hi @chniter ,

you can configure a webhook url foreach user, or the same endpoint for all users, but for each of them, you need to setup a dedicated connection per user and use the returned connectionId for all subsequent messages.

The webhook url doesn't permit to send a message to the dedicated user associated with, for this you need to call send message from an other user.

@chniter
Copy link
Author

chniter commented Jul 13, 2021

Thank you for your response.
My need is to be able to send message to an user from external application without authentication.
That is why i prefer unique secured url by user and then i can use it anywhere..

@chniter
Copy link
Author

chniter commented Jul 13, 2021

@zucher
Copy link

zucher commented Jul 13, 2021

in that case, you don't need a connection per user , but a dedicated user to send a message to other users (like a bot)
In that case you need a backend in order to provide such feature ( an aws lanbda for ex, in order to bridge you url needs to rainbow api's.

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

No branches or pull requests

2 participants