Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to send whatsapp message with python

pip install pywhatkit
import pywhatkit
pywhatkit.sendwhatmsg('+91 9807685671', 'SENDING MESSAGES USING PYWHATKIT', 6,06)
Comment

sending whatsapp message using python

# plz suscribe to my youtube channel -->
# https://www.youtube.com/channel/UC-sfqidn2fKZslHWnm5qe-A


#install pywhatkit by using pip install pywhatkit command in cmd
import pywhatkit
pywhatkit.sendwhatmsg(phone_number,Message,At_what_hour_to_send_this_message)
Comment

How to Send WhatsApp API using python

import http.client
conn = http.client.HTTPSConnection("api.ultramsg.com")
payload = "token=1v941eyo9eqixrsi&to=14155552671&filename=hello.pdf&document=https://file-example.s3-accelerate.amazonaws.com/documents/cv.pdf&referenceId="
headers = { 'content-type': "application/x-www-form-urlencoded" }
conn.request("POST", "/instance16/messages/document", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
Comment

How to Send WhatsApp API using python

import http.client
conn = http.client.HTTPSConnection("api.ultramsg.com")
payload = "token=1v941eyo9eqixrsi&to=14155552671&image=https://file-example.s3-accelerate.amazonaws.com/images/test.jpg&caption=image Caption&referenceId="
headers = { 'content-type': "application/x-www-form-urlencoded" }
conn.request("POST", "/instance16/messages/image", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
Comment

PREVIOUS NEXT
Code Example
Python :: plotly set axes limits 
Python :: matplotlib plot two graphs side by side 
Python :: no python 3.10 installation was detected 
Python :: first position dict python 
Python :: tkfiledialog python 3 example 
Python :: python runtime 
Python :: beautifulsoup find by class 
Python :: how to save plot in python 
Python :: get last year of today python 
Python :: pandas convert to 2 digits decimal 
Python :: utf8 python encodage line 
Python :: python remove first and last character from string 
Python :: python divide string in half 
Python :: tkinter canvas remove border 
Python :: python - remove scientific notation 
Python :: exponentiation is the raising of one number to the power of another. this operation is performed using two asterisks **. 
Python :: difference python list and numpy array 
Python :: copy text python 
Python :: draw spiral in matplotlib 
Python :: ImportError: No module named django.core.wsgi 
Python :: columns to dictionary pandas 
Python :: seaborn create a correlation matrix 
Python :: .astype datetime 
Python :: python name of current file 
Python :: python get current time without milliseconds 
Python :: 1 eth to wei 
Python :: find location of library python linux 
Python :: python get time milliseconds 
Python :: sklearn columntransformer 
Python :: python year from date 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =