chore: cleanup
This commit is contained in:
13
JOBot.TClient/Commands/Commands/MenuCommand.cs
Normal file
13
JOBot.TClient/Commands/Commands/MenuCommand.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using JOBot.Proto;
|
||||
using JOBot.TClient.Services;
|
||||
using Telegram.Bot.Types;
|
||||
|
||||
namespace JOBot.TClient.Commands.Commands;
|
||||
|
||||
public class MenuCommand(MenuService menuService) : IAuthorizedTelegramCommand
|
||||
{
|
||||
public async Task ExecuteAsync(Update update, GetUserResponse user, CancellationToken ct)
|
||||
{
|
||||
await menuService.RenderMenu(update, ct);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user