17 lines
470 B
C#
17 lines
470 B
C#
using Telegram.Bot;
|
|
using Telegram.Bot.Types;
|
|
using User = JOBot.Proto.User;
|
|
|
|
namespace JOBot.TClient.Services;
|
|
|
|
public class MenuService(ITelegramBotClient bot)
|
|
{
|
|
public Task RenderMenu(Update update, CancellationToken ct = default)
|
|
{
|
|
ArgumentNullException.ThrowIfNull(update.Message?.From);
|
|
|
|
bot.SendMessage(update.Message.From.Id,"PrepareUser stage is done.", cancellationToken: ct);
|
|
|
|
return Task.CompletedTask;
|
|
}
|
|
} |