13 lines
358 B
C#
13 lines
358 B
C#
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);
|
|
}
|
|
} |