mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-11-23 20:11:07 +00:00
Merge 5058a86cc5
into f0ea440d41
This commit is contained in:
commit
b2d1acff2b
15
Automate Whatsapp.py
Normal file
15
Automate Whatsapp.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Install PyWhatkit
|
||||
pip install pywhatkit
|
||||
|
||||
|
||||
# Say you want to send a message
|
||||
import pywhatkit
|
||||
# syntax: phone number with country code, message, hour and minutes
|
||||
pywhatkit.sendwhatmsg('+1xxxxxxxx', 'Message 1', 18, 52)
|
||||
|
||||
|
||||
# Message to a Whatsapp group
|
||||
import pywhatkit# syntax: group id, message, hour and minutes
|
||||
pywhatkit.sendwhatmsg_to_group("write-id-here", "Message 3", 19, 2)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user