venomous0x / WhatsAPI

Interface to WhatsApp Messenger
2.59k stars 2.13k forks source link

Event (onGetMessage) $form always shows the group ID #526

Closed RFKDOT closed 10 years ago

RFKDOT commented 10 years ago

When I use event onGetMessage this returns 6 vars ($mynumber, $from, $id, $type, $time, $name, $body)

Only if i are in a group the $from always return the group ID , example (99999999999-8888888888@g.us) 99999999999 => Phone of group CREATOR 8888888888 => Group ID

¿How I known the number of a person that send ever message?

Sorry for my bad english

jesussales commented 10 years ago

Hi!! If you want speak Spanish, you can do it in

https://github.com/mgp25/WhatsAPI-Spanish

I'll go to retrieve the problem that you say and ask you

Saludos Jesús Sales

El 18/11/2013, a las 22:49, RFKDOT notifications@github.com escribió:

When I use event onGetMessage this returns 6 vars ($mynumber, $from, $id, $type, $time, $name, $body)

Only if i are in a group the $from always return the group ID , example (99999999999-8888888888@g.us) 99999999999 => Phone of group CREATOR 8888888888 => Group ID

¿How I known the number of a person that send ever message?

Sorry for my bad english

— Reply to this email directly or view it on GitHub.