Skip to content

AriGreenfeld/TeleBotDotNet

Repository files navigation

TeleBotDotNet

TeleBotDotNet is a Telegram Bot API for the .NET Framework. It is written in C# and fully object-oriented.

Example

To send a message:

var teleBot = new TeleBot("YOUR_API_KEY_HERE", false);

teleBot.SendMessage(new SendMessageRequest
{
    ChatId = updateResponse.Message.UserChat == null ?
        updateResponse.Message.GroupChat.Id : updateResponse.Message.UserChat.Id,
    Text = "This is a test.",
    ReplyToMessageId = updateResponse.Message.MessageId
});

For more see Naxiz/TeleBotDotNetExamples.

About

Telegram Bot API for the .NET Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages