https://docs.wati.io/reference/get_-serverurl-api-v1-getmedia
https://www.twilio.com/docs/whatsapp/api#conversational-messaging-on-whatsapp
https://rodic.fr/blog/python-chatbot-1/
https://www.twilio.com/blog/build-a-whatsapp-chatbot-with-python-flask-and-twilio
https://www.geeksforgeeks.org/building-whatsapp-bot-on-python/
----------------------------------*********************----------------------------------
Simple console application with sending message on whats app using twilio.com
class Program
{
static void Main(string[] args)
{
// Find your Account SID and Auth Token at twilio.com/console
// and set the environment variables. See http://twil.io/secure
//string accountSid = Environment.SetEnvironmentVariable("TWILIO_ACCOUNT_SID", "AC49cf068b85003fcb3160d14c101453cd");
//string authToken = Environment.GetEnvironmentVariable("c5270daacbe8aabd40e0b1b8febee06a");
string accountSid = "AC49cf068b85003fcb3160d14c101453cd";
string authToken = "c5270daacbe8aabd40e0b1b8febee06a";
TwilioClient.Init(accountSid, authToken);
var message = MessageResource.Create(
from: new Twilio.Types.PhoneNumber("whatsapp:+14155238886"),
body: "Hello, there!",
to: new Twilio.Types.PhoneNumber("whatsapp:+919355036914")
);
Console.WriteLine(message.Sid);
}
}
https://www.twilio.com/docs/whatsapp/api#conversational-messaging-on-whatsapp
-------------------******************---------------------------------------
First sign Up in twilio.com if you don't have account and use free version for 90 days.
>After sign in, Go to develop
>Click on develop
>Click on messaging
>Click on try it out
>Click on send a whats app message
>Click on (click here) link (screenshot below)
No comments:
Post a Comment