JOBot/JOBot.TClient/Services/MenuService.cs
2025-07-25 16:37:42 +03:00

14 lines
400 B
C#

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.SendMessage(update.Message.From.Id, "PrepareUser stage is done.", cancellationToken: ct);
}
}