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

Is there a way to send messages to multiple users (broadcast a message) at once rather than iterating over each user? #70

Open
lambsteak opened this issue Apr 17, 2019 · 1 comment

Comments

@lambsteak
Copy link

I'm using the pymessenger.bot.Bot object's send_message method right now and iterating over all the target recipient ids and calling this send_message method in each iteration. Is there an alternative way to send a message to all the required users, ie, to broadcast a message to a group of users?

@davidchua
Copy link
Owner

Right now we don't have a way to send multiple messages, but we could abstract it out into a send_multiple_message() method.

If you're interested, you could take a stab at it in a PR?

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