TelegramBots / Telegram.Bot

.NET Client for Telegram Bot API
https://telegrambots.github.io/book
MIT License
3.17k stars 686 forks source link

Better low-level request handling #973

Closed karb0f0s closed 3 years ago

karb0f0s commented 3 years ago

Consider changing MakingApiRequest and ApiResponseReceived to delegates or protected virtual methods (something like EF Core extension points).

This change could make library more DI-frienly.

karb0f0s commented 3 years ago

https://github.com/TelegramBots/Telegram.Bot/commit/52f0b790020c2c3e39121d1f0b0d36f45e416680