-
Notifications
You must be signed in to change notification settings - Fork 15
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
Support multiple messages in the same request #23
Comments
Yes, I'm waiting for it. |
Just curious, what would you like to use this for @KstmSoft ? |
@gfaraj, i want to use this for a Music Robot on Whatsapp. |
If I understand correctly, you're looking to have the bot respond periodically with the progress of the conversion progress, then send the audio when it is done. If that's so, the periodic progress messages can be implemented in the current version of the bot by using the callbackUrl property available in the incoming messages. Take a look how I did the reminders or trivia plugins. As for sending the resulting audio data, the Whatsapp client currently only supports images. You might need to upload it somewhere and send the link instead. |
Yes, your solution works perfectly (in my case), I wrote an post call to callbackUrl sending the notification (same as reminders or trivia plugins do).
Thanks in advance, nice work!. |
Yeah I should really add a nicer way to send a callback message, thanks for the suggestion. Glad it worked out for you! |
I would like to send multiple messages to the bot service in the same request.
The text was updated successfully, but these errors were encountered: