venomous0x / WhatsAPI

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

Disabling response messages on a web application #1119

Open vishvodhay opened 9 years ago

vishvodhay commented 9 years ago

This is the first time I'm dealing with API's on PHP and I'm trying to create a sample web application which would send out a message through Whatsapp We get a response message after message has been sent out successfully. These responses are from call of sendMessage() and loginWithPassword() functions

Can someone please advice how to disable those messages after the call.

image

Thanks

vishvodhay commented 9 years ago

Is commenting out the relevant print_r and echo the only solution as I didn't find any other way to do it?

mgp25 commented 9 years ago

@vishvodhay you are using an outdated code, use https://github.com/mgp25/WhatsAPI-Official

Regards