Добавлены функции резервного копирования контактов, улучшена обработка фотографий сотрудников и обновлены зависимости
Gitea Actions Demo / Explore-Gitea-Actions (push) Canceled after 0s
Gitea Actions Demo / Explore-Gitea-Actions (push) Canceled after 0s
This commit is contained in:
@@ -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 = "⬅️ Назад")
|
||||
|
||||
Reference in New Issue
Block a user