This commit is contained in:
parent
42d85b6f03
commit
950bed61e3
@ -25,6 +25,8 @@ class Program
|
||||
|
||||
private static async Task UpdateHandler(ITelegramBotClient bot, Update update, CancellationToken cancellationToken)
|
||||
{
|
||||
Console.WriteLine($"Start recieveing");
|
||||
|
||||
if (update.Type == UpdateType.Message && update.Message?.Text != null)
|
||||
{
|
||||
var message = update.Message;
|
||||
|
Loading…
Reference in New Issue
Block a user