Telegram.Bot.Framework icon indicating copy to clipboard operation
Telegram.Bot.Framework copied to clipboard

Simple framework for building Telegram bots

Results 16 Telegram.Bot.Framework issues
Sort by recently updated
recently updated
newest added

It seems telegram server requires TLS1.2. Add this before botclient.SendTextMessageAsync(): Net.ServicePointManager.SecurityProtocol = Net.SecurityProtocolType.Tls12

How should I send score to a game backend? It's not well described in the documentation. Could you please help me with that?

nGetting build error for sample echo bot project. Tried referring the Telegram Framework project and from ![sampleechobot](https://user-images.githubusercontent.com/45727164/50040228-6b01eb80-0037-11e9-9902-930f97b3fb9c.PNG) Nuget.

First cancellation token passed to the update delegate should be `None` for the polling update and request's timeout for the webhooks.

Scoped lifetime of `IUpdateManager` and polling functionality built in it don't play well together. An entity that performs polling should be a singleton. `IUpdateManager` functionality should be split to two...

feature

There is a problem with `IBotManager` instances lifetime in webhook mode. Each middleware in ASP.NET Core is instantiated once and is kept in memory as a part of middleware pipeline....

In your current implementation all update handlers share a scope because `getUpdates` can return more than one update at a time. I think it would be better if every individual...

When used with ASP.NET Core 2.0 and `ASPNETCORE_ENVIRONMENT` is set to `Development` and long polling mode is used `UseTelegramBotLongPolling ` throws [this](https://github.com/pouladpld/Telegram.Bot.Framework/blob/master/src/Telegram.Bot.Framework/Extensions/TelegramBotMiddlewareExtensions.cs#L84) exception. Creating explicit scope inside extension methods (`UseTelegramBotWebhook`,...

bug