I think it's a good idea to add ITelegramBotClient as the first parameter in IUpdateHandler.HandleUpdate. This way you don't need to capture a reference to the client with DefaultUpdateHandler.
It will break the interface, but it's fine since the library is still effectively in preview.
I think it's a good idea to add
ITelegramBotClient
as the first parameter inIUpdateHandler.HandleUpdate
. This way you don't need to capture a reference to the client withDefaultUpdateHandler
.It will break the interface, but it's fine since the library is still effectively in preview.