You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.
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)
i have already the added webhook using middleware of Prisma, i will create
pull request as soon as possible.
Note: You cannot use unique webhook url for each session
On Thu, 2 Mar 2023 at 21:38, empresarrollo ***@***.***> wrote:
I'm in the same boat as @marutichintan <https://github.com/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)
—
Reply to this email directly, view it on GitHub
<#151 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCUFHV25WFK7QJ4XLEXJIDW2DAYJANCNFSM6AAAAAAVA2IOBM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
Please Add Webhook for incomming messages.
The text was updated successfully, but these errors were encountered: