SEND MESSAGE USING PYTHON:-
Here we can send using message using python through given codes:-
import pywhatkit
import datetime
# Replace 'your_message' with the actual message you want to send
message = "Hello, this is a test message."
# Replace the phone number with the recipient's phone number including the country code
recipient_number = "+1234567890"
# Get the current time
current_time = datetime.datetime.now()
hours = current_time.hour
minutes = current_time.minute + 2 # Send the message 2 minutes from now
# Use the sendwhatmsg() function to send the message
pywhatkit.sendwhatmsg(recipient_number, message, hours, minutes)
here you can send message using python
Comments
Post a Comment