Hello Everyone,
I have downloaded this whatsApp Api
Whatsapp API for .NET 15.1.9
But I don't know how to use this API to send Message to others
I tried the following code but it is throwing exception
WhatsAppApi.WhatsApp objwa = new WhatsAppApi.WhatsApp("+923422352158", "123456789012345", "Taqi",true);
objwa.OnError += new WhatsAppApi.WhatsEventBase.OnErrorDelegate(objwa_OnError);
objwa.OnConnectFailed += new WhatsAppApi.WhatsEventBase.ExceptionDelegate(objwa_OnConnectFailed);
objwa.Connect();
objwa.Login();
The Above code throw exception
Invalid length for a Base-64 char array.
Any help will be appreciated.
Thanks
I have downloaded this whatsApp Api
Whatsapp API for .NET 15.1.9
But I don't know how to use this API to send Message to others
I tried the following code but it is throwing exception
WhatsAppApi.WhatsApp objwa = new WhatsAppApi.WhatsApp("+923422352158", "123456789012345", "Taqi",true);
objwa.OnError += new WhatsAppApi.WhatsEventBase.OnErrorDelegate(objwa_OnError);
objwa.OnConnectFailed += new WhatsAppApi.WhatsEventBase.ExceptionDelegate(objwa_OnConnectFailed);
objwa.Connect();
objwa.Login();
The Above code throw exception
Invalid length for a Base-64 char array.
Any help will be appreciated.
Thanks