Skip to content

WhatsApp code using C#

Mohit Kala

Mohit Kala

Asked May 15, 2016, 4:17 AM EDT1 answer
Share
LinkedInX
Please anybody help me
 
How to send Whats App Message through C#.Net
 
Please Tell me a code 

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Ekrem Tapan
    0
    Send ( button_click ) string from = "9199********"; string to = txtTo.Text;//Sender Mobile string msg = txtMessage.Text; WhatsApp wa = new WhatsApp(from, "BnXk*******B0=", "NickName", true, true); wa.OnConnectSuccess += () => { MessageBox.Show("Connected to whatsapp..."); wa.OnLoginSuccess += (phoneNumber, data) => { wa.SendMessage(to, msg); MessageBox.Show("Message Sent..."); };
    0