MrZoidberg / telegram.bot

Telegram Bot API - C# Client

Home Page:https://mrroundrobin.github.io/telegram.bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

see the docs and examples at telegram.bot.examples

Installation

Install as NuGet package:

Install-Package Telegram.Bot

For testing you can use the MyGet feed with automated builds

API Coverage

Updated to Bot API 2.1

Missing / TODO (last check 06.07.2016):

About

Telegram Bot API - C# Client

https://mrroundrobin.github.io/telegram.bot

License:MIT License


Languages

Language:C# 100.0%