Telegram.Bot is the most popular .NET Client for
The Bot API is an HTTP-based interface created for developers keen on building bots for Telegram.
Check
We, the Telegram Bots team, mainly focus on developing multiple NuGet packages for creating chatbots.
Package | Documentation | News Channel | Team | Group Chat |
---|---|---|---|---|
This package on NuGet | Telegram bots book | Subscribe to
@tgbots_dotnet channel to get our latest news |
The team contributing to this work | Join our chat
|
Please check
Project targets .NET Standard 2.0 and .NET Core 3.1 at minimum.
This project is referred to as the core package and is always required for developing Telegram bots.There are extension packages that you can include in your bot projects for additional functionality:
This project is fully tested using Unit tests and Systems Integration tests before each release.In fact, our test cases are self-documenting and serve as examples for Bot API methods.Once you learn the basics of Telegram chatbots, you will be able to easily understand the code in examples anduse it in your own bot projects.
目录 创建机器人 将机器人添加到群组里 获取群组chat_id 机器人发送请求 请求接口 携带参数 获取响应 telegram对象 Update User Chat Message MessageEntity BotCommand WebhookInfo ReplyKeyboardMarkup KeyboardButton KeyboardButtonPollType ReplyKeyboardR