|
@@ -16,6 +16,14 @@ namespace MafiaTelegramBot.Resources
|
|
|
}, true
|
|
|
);
|
|
|
|
|
|
+ public static readonly ReplyKeyboardMarkup AdminMainMenu = new(new[]
|
|
|
+ {
|
|
|
+ new KeyboardButton[] {keyboard.admin_panel},
|
|
|
+ new KeyboardButton[] {keyboard.create_game},
|
|
|
+ new KeyboardButton[] {keyboard.connect_game, keyboard.show_profile},
|
|
|
+ }, true
|
|
|
+ );
|
|
|
+
|
|
|
public static readonly ReplyKeyboardMarkup OwnerGameMenu = new(new[]
|
|
|
{
|
|
|
new KeyboardButton[] {keyboard.begin_game, keyboard.room_settings},
|
|
@@ -62,6 +70,15 @@ namespace MafiaTelegramBot.Resources
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+ public static InlineKeyboardMarkup AdminPanelKeyboard(long userId)
|
|
|
+ {
|
|
|
+ return new( new[]
|
|
|
+ {
|
|
|
+ new [] { InlineKeyboardButton.WithCallbackData(strings.give_roles_to_all_players, $"{Callback.GiveToAll}|{userId}|0") },
|
|
|
+ new [] { InlineKeyboardButton.WithCallbackData(strings.give_role_to_selected_player, $"{Callback.GiveToSelected}|{userId}|0") },
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
public static InlineKeyboardMarkup ChooseRoomView(long userId)
|
|
|
{
|
|
|
return new InlineKeyboardMarkup(new[]
|