15 lines
451 B
C#
15 lines
451 B
C#
using JOBot.TClient.Infrastructure.Extensions;
|
|
using Telegram.Bot;
|
|
using Telegram.Bot.Types;
|
|
|
|
namespace JOBot.TClient.Services;
|
|
|
|
public class MenuService(ITelegramBotClient bot)
|
|
{
|
|
public async Task RenderMenu(Update update, CancellationToken ct = default)
|
|
{
|
|
ArgumentNullException.ThrowIfNull(update.Message?.From);
|
|
|
|
await bot.SendMessageRemK(update.Message.From.Id, "PrepareUser stage is done.", cancellationToken: ct);
|
|
}
|
|
} |