Closed bsde1234 closed 4 years ago
try to get the group ID by monitoring the receipt of any messages
usually the group id is the full international format number of who created the group (country code + the area code + phone number) - random number @ g.us
fictional example: 12345678901-2345678901@g.us
then you can test the command, using the real id:
driver.send_message_to_id("12345678901-2345678901@g.us","Testing a message sender!")
worked
try to get the group ID by monitoring the receipt of any messages usually the group id is the full international format number of who created the group (country code + the area code + phone number) - random number @ g.us fictional example:
12345678901-2345678901@g.us
then you can test the command, using the real id:driver.send_message_to_id("12345678901-2345678901@g.us","Testing a message sender!")
How can I monitor the receipt of messages?
I used following code to send message to group
It says success but no message sent to group. I changed
phone_whatsapp = "{}@c.us".format(phone_safe)
tophone_whatsapp = "{}@g.us".format(phone_safe)
but not worked. I used the group id that is in the group chat invite code