mnkgrover08-zz / whatsapp_automation

Whatsapp Automation is a collection of APIs that interact with WhatsApp messenger running in an Android emulator, allowing developers to build projects that automate sending and receiving messages, adding new contacts and broadcasting messages multiple contacts.
GNU General Public License v3.0
202 stars 61 forks source link

Question #9

Closed lddd closed 5 years ago

lddd commented 5 years ago

Great work, got one question.

Lets say i have more than 256 contacts for one "Number/Emulator/Device" i would like to send messages to.

Would it be possible to have some kind of automation method here creating broadcast lists for the emulated device contacts splitted by 256 each list?

Because of whatsapp internal limitation of 256 contacts per broadcast list.

Plus a API method to send to one or multiple broadcast lists after that.

Like i understand the existing "broadcast" it will simply do a bulk send but send one by one instead of sending to many contacts at once right?

mnkgrover08-zz commented 5 years ago

Roman

as of now handling of broadcast list for more than 256 contacts is not implemented. But the idea behind that would be creating different chunks of broadcast list, each comprising of 256. eg. lets say you need to broadcast message to 500 contacts then you need to have 2 broadcast lists. 1st - 256 recipients 2nd - 244 recipients

so in this you will hit the api with 500 recipients as input inside the api handling controller 500 recipients will be breakdown into 2 lists with random name. then each will be pushed to queue separately.

Regards Mayank

On Sat 17 Nov, 2018, 3:15 AM Roman M. <notifications@github.com wrote:

Great work, got one question.

Lets say i have more than 256 contacts for one "Number/Emulator/Device" i would like to send messages to.

Would it be possible to have some kind of automation method here creating broadcast lists for the emulated device contacts splitted by 256 each list?

Because of whatsapp internal limitation of 256 contacts per broadcast list.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mnkgrover08/whatsapp_automation/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/AGH0KjCldqYDD7YyjC89KON_gqYe_YUnks5uvzHkgaJpZM4YnBD9 .

lddd commented 5 years ago

Hi,

Yes. But how to opt-out a single number on request? Can we have a listener constantly waiting for commands like "stop" and "start". So if a number sends "start" this number will be added to broadcast recipients (if non existing) or reactivated. If sending "stop" such number would be removed from broadcast recipients?

I would be highly interested in some API providing newsletter similar functionality in case of whatsapp subscribers.

So your approach here looked promising to me.

Let me know if you are maybe available to freelance work to have further custom functionality here added to this API.

best regards, Roman