whatsapp-framework
whatsapp-framework copied to clipboard
problem getting phone number from whatsapp group.
i tried to save the phone number from people in a group wich sends a command, so i used:
get_groups = re.split(r"-", message.conversation) telefono = get_group[0] print(telefono)
it gives me a diferent phone number than wich the guy sended, someone knows what is the best method?
message.who.split("@")[0]