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