whatsapp-framework icon indicating copy to clipboard operation
whatsapp-framework copied to clipboard

who.name function in the framework question

Open gabrieru opened this issue 6 years ago • 3 comments

i have an bot working with my phone number and i dont want to get banned. Someone using it can explain how this works?, i am doing an app where if you talk to the bot this saves information in one database, so with this i want to save the phone number of the guy who talk with the bot. i am worried because maybe "who.name" can get the name contact in the setup.py or maybe it can get the phone number or both. i dont want to risk my phone number. please give me some explanation

gabrieru avatar Oct 12 '18 04:10 gabrieru

Just Use message.who instead of who_name to get number of sender..

x-frst avatar Oct 13 '18 16:10 x-frst

Just Use message.who instead of who_name to get number of sender..

and what about the group validation? there exist some like message.group? thanks

gabrieru avatar Oct 20 '18 03:10 gabrieru

Not yet... But you can get Group JID by message.conversation

Group JID means

[email protected]

x-frst avatar Oct 20 '18 05:10 x-frst