Добавлены функции резервного копирования контактов, улучшена обработка фотографий сотрудников и обновлены зависимости
Gitea Actions Demo / Explore-Gitea-Actions (push) Canceled after 0s

This commit is contained in:
Oleg-Nevsky
2026-08-12 16:25:00 +03:00
parent 34efa36d8b
commit 5acf3f9c96
7 changed files with 62 additions and 18 deletions
+2 -2
View File
@@ -4,10 +4,10 @@ namespace nsszcontactbot
{
internal static class InlineKeyboardMarkupExtensions
{
internal static InlineKeyboardMarkup AddCloseButton(this InlineKeyboardMarkup markup, bool newRow = true)
internal static InlineKeyboardMarkup AddCloseButton(this InlineKeyboardMarkup markup, string text = "❌ Закрыть", bool newRow = true)
{
var buttonRow = newRow ? markup.AddNewRow() : markup;
return buttonRow.AddButton("❌ Закрыть", "close");
return buttonRow.AddButton(text, "close");
}
internal static InlineKeyboardMarkup AddPrevPageButton(this InlineKeyboardMarkup markup, int currentPage, string context = "", string text = "⬅️ Назад")