|
@@ -11,13 +11,13 @@ namespace MafiaTelegramBot.Models.Inlines
|
|
|
|
|
|
protected override async Task<Message> Execute(Update update)
|
|
|
{
|
|
|
- /*await DeletePreviousMessage(ChatId, update.CallbackQuery.Message.MessageId);
|
|
|
- var user = await UserDao.GetPlayerById(UserId);
|
|
|
- if (user.OpenedRoles.AllRolesOpened())
|
|
|
- return await Bot.SendWithMarkdown2(ChatId, strings.you_already_open_all_roles);
|
|
|
- return await Bot.Get().SendInvoiceAsync(ChatId, strings.random_role_payment,
|
|
|
- strings.random_role_description, $"{Payloads.RandomRole}|{UserId}",
|
|
|
- AppSettings.ProviderToken, Constants.SHOP_CURRENCY, Constants.RANDOM_ROLE_PRICE);*/
|
|
|
+ await DeletePreviousMessage(ChatId, update.CallbackQuery.Message.MessageId);
|
|
|
+ // var user = await UserDao.GetPlayerById(UserId);
|
|
|
+ // if (user.OpenedRoles.AllRolesOpened())
|
|
|
+ // return await Bot.SendWithMarkdown2(ChatId, strings.you_already_open_all_roles);
|
|
|
+ // return await Bot.Get().SendInvoiceAsync(ChatId, strings.random_role_payment,
|
|
|
+ // strings.random_role_description, $"{Payloads.RandomRole}|{UserId}",
|
|
|
+ // AppSettings.ProviderToken, Constants.SHOP_CURRENCY, Constants.RANDOM_ROLE_PRICE);
|
|
|
return await Bot.SendWithMarkdown2(ChatId, strings.work_in_progress, Keyboard.BackButton(UserId));
|
|
|
}
|
|
|
}
|