feat: created auth hook on TClient
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using JOBot.TClient.Infrastructure.Extensions;
|
||||
using Telegram.Bot;
|
||||
using Telegram.Bot.Types;
|
||||
|
||||
@@ -9,6 +10,6 @@ public class MenuService(ITelegramBotClient bot)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(update.Message?.From);
|
||||
|
||||
await bot.SendMessage(update.Message.From.Id, "PrepareUser stage is done.", cancellationToken: ct);
|
||||
await bot.SendMessageRemK(update.Message.From.Id, "PrepareUser stage is done.", cancellationToken: ct);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user