Fix sending tg messages

This commit is contained in:
Laura Hausmann 2023-04-09 15:59:21 +02:00
parent a1ae3864fa
commit dcbd56388b
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -19,6 +19,6 @@ public class TelegramBotClient {
}
public void SendMessage(string chat, string message) {
_bot.SendTextMessageAsync(chat, message);
_bot.SendTextMessageAsync(chat, message).RunSynchronously();
}
}