Open surgura opened 6 years ago
Just use send_message_to_id function
That is to send messages, correct? But if I already do have such conversations, is it possible to get them through this API?
If the chat is already opened you can get it from get_all_chats
If you don't want to use send_message_to_id
, wich is returning allways False
(I mean, it sends the message but returns False
), you can use get_chat_from_phone_number
and then call send_mesage
with the serialized id of the returned chat instance.
In the WhatApp app you can chat with people that are not your contacts(you only see their phone number). Use this API I'm able to get chats with contacts through get_all_chats(). Is it possible to get the 'anonymous' chats?