14 lines
392 B
C#
14 lines
392 B
C#
using JOBot.TClient.Commands.Buttons;
|
|
using JOBot.TClient.Statements;
|
|
using Telegram.Bot.Types;
|
|
using Telegram.Bot.Types.Enums;
|
|
|
|
namespace JOBot.TClient.Commands;
|
|
|
|
public class StartCommand(PrepareUserState prepareUserState) : ITelegramCommand
|
|
{
|
|
public async Task ExecuteAsync(Update update, CancellationToken ct)
|
|
{
|
|
await prepareUserState.TryToPrepareUser(update, ct);
|
|
}
|
|
} |