Login Failure while send message using WhatsApp api c# -


when i'm trying send message using c# api whatsapp # , handle onloginfailed event

and show me message of loginfailed

here's code

     wa.onconnectsuccess += () =>         {             messagebox.show("connected whatsapp...");              wa.onloginsuccess += (phonenumber, data) =>             {                 wa.sendmessage(to, mes);                 messagebox.show("message sent...");             };              wa.onloginfailed += (data) =>             {                 messagebox.show("login failed : {0}", data);             };              wa.login();         };          wa.onconnectfailed += (ex) =>         {             messagebox.show("connection failed...");         };          wa.connect(); 


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -