Send whatsapp message using python
Sending whats-app message to one or multiple people may be time taking for some lazy users, but the worlds cares for these lazes and developed various tools send whats-app message.
Library required----
pywhatkit
If any other library is required then do write the following code---
pip install <library name>
So lets do write the code---
for sending to one person:-
import pywhatkit
pywhatkit.sendwhatmsg('+911234567890','hello',19,36)
syntax explanation :-()
pywhatkit.sendwhatmsg(<phonenumber with country code>, <your message>, <hour>, <minutes>)
for sending it to multiple persons---
import pywhatkit
phone_no=['+911234567890','+911234567890','+911234567890']
for i in phone_no:
pywhatkit.sendwhatmsg(i,'hello',19,36)
See the magic happened
Thank you
Please comment your suggestions
Comments
Post a Comment