WIP: implemented registration and EULA accept, WIP on auth issue
This commit is contained in:
17
JOBot.TClient/Services/MenuService.cs
Normal file
17
JOBot.TClient/Services/MenuService.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user