You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First open the Whatsapp desktop version (Not whatsapp web)
Save the below code as filename.py extension in your computer and run the code.
fromtimeimporttimefrompyautoguiimporthotkey, press, typewriteimporttime# move to whatsapp desktop versionhotkey('alt', 'tab')
# short key for open create new group in whatsapp desktop versionhotkey('ctrl', 'shift', 'n' )
# Specify how many groups you want to createno_of_group=1forjinrange(0,no_of_group):
foriinrange(0,1):
typewrite("unnikkuttan") # Specify the contact name as per your phone with in double quotepress('enter')
press('enter')
typewrite("GRP4") # Specify group name with in double quotepress('enter') # In this step we successfully complete the creation of a grouptime.sleep(3)
hotkey('ctrl', 'shift', 'n' ) # short key for open create new group
About
Automatically create morethan one whatsapp group for specific contacts using Python.