Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Please Add Webhook for incomming messages #151

Open
marutichintan opened this issue Feb 19, 2023 · 4 comments · May be fixed by #162
Open

Please Add Webhook for incomming messages #151

marutichintan opened this issue Feb 19, 2023 · 4 comments · May be fixed by #162
Labels
enhancement New feature or request

Comments

@marutichintan
Copy link

Please Add Webhook for incomming messages.

@ookamiiixd
Copy link
Owner

We already got a DB, what would be your use case for this?

@marutichintan
Copy link
Author

we have to use polling for fetch messages from chat, webhook will decrease delay for new message.

@empresarrollo
Copy link

I'm in the same boat as @marutichintan, it would be great to have a webhook that sends to a configure URL per session the jid and the message. Then in my app I can respond to that and not do pooling to fetch new messages.

Also: Is it possible to have another endpoint to clear/delete all the chats for a session? (so i make a cron to call that endpoint every night so it does not grow indefinetily)

@marutichintan
Copy link
Author

marutichintan commented Mar 3, 2023 via email

@ookamiiixd ookamiiixd added the enhancement New feature or request label Mar 10, 2023
@ookamiiixd ookamiiixd linked a pull request Mar 10, 2023 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants