Open tuscen opened 6 years ago
Default timeout in GetUpdateAsync method is set to 0. BotManager should take timeout from ITelegramBotClient and pass it to GetUpdatesAsync method. I think there also should be a config for timeout in BotOptions.
GetUpdateAsync
BotManager
ITelegramBotClient
GetUpdatesAsync
BotOptions
Default timeout in
GetUpdateAsync
method is set to 0.BotManager
should take timeout fromITelegramBotClient
and pass it toGetUpdatesAsync
method. I think there also should be a config for timeout inBotOptions
.