C# library to talk to Telegrams Bot API
static async void testApiAsync()
{
var Bot = new Telegram.Bot.Api("your API access Token");
var me = await Bot.GetMeAsync();
System.Console.WriteLine("Hello my name is " + me.FirstName);
}
static void testApi()
{
var Bot = new Telegram.Bot.Api("your API access Token");
var me = Bot.GetMeAsync().Result;
System.Console.WriteLine("Hello my name is " + me.FirstName);
}
Install as NuGet package:
Install-Package Telegram.Bot
For testing you can use the MyGet feed with automated builds
Updated to Bot API 2.1
Missing / TODO (last check 22.05.2016):