0

Пишу бота на telegram.bots, все было нормально, пока вдруг он просто перестал принимать сообщения. При запуске просто шлёт exception "message было null." Пишу так:

    async private static Task Update(ITelegramBotClient botClient, Update update, CancellationToken token)
{
    var message = update.Message;
    string isResponsed = " [responsed]";
if (message.Text != null)
{
  //do smthng
} 

}

Romay
  • 3
  • 4

0 Answers0