Skip to content

spaceorc/telegram.bot

 
 

Repository files navigation

Telegram Bot Api Library

Build status NuGet Release MyGet license

C# library to talk to Telegrams Bot API

Usage

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);
}

Before submitting issues please consult following links:

Installation

Install as NuGet package:

Install-Package Telegram.Bot

For testing you can use the MyGet feed with automated builds

API Coverage

Missing / TODO (last check 03.10.2016):

Packages

No packages published

Languages

  • C# 100.0%