From 5058a86cc5aa62dd4c4df83b0ff910fda2f89145 Mon Sep 17 00:00:00 2001 From: Victor Jotham Ashioya Date: Mon, 24 Oct 2022 12:29:44 +0300 Subject: [PATCH] Create Automate Whatsapp.py --- Automate Whatsapp.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Automate Whatsapp.py diff --git a/Automate Whatsapp.py b/Automate Whatsapp.py new file mode 100644 index 0000000..a7cb58b --- /dev/null +++ b/Automate Whatsapp.py @@ -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) + +