feat: implemented registration stage of preparation on PrepareUserState
implemented auth, added auth tools AcceptNotPreparedAttribute.cs, IAuthorizedTelegramCommand.cs
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
using Grpc.Core;
|
||||
using JetBrains.Annotations;
|
||||
using JOBot.Proto;
|
||||
using JOBot.TClient.Infrastructure.Exceptions;
|
||||
using Telegram.Bot;
|
||||
@@ -8,7 +6,6 @@ using User = JOBot.Proto.User;
|
||||
|
||||
namespace JOBot.TClient.Services;
|
||||
|
||||
[UsedImplicitly]
|
||||
public class PrepareUserService(ITelegramBotClient bot, User.UserClient userClient) : UserService(bot, userClient)
|
||||
{
|
||||
private readonly ITelegramBotClient _bot = bot;
|
||||
|
||||
Reference in New Issue
Block a user