Сильно переделанная версия, добавлены избранные контакты, отправка фото и т.п.

This commit is contained in:
V1RTUOZ
2025-04-30 02:34:18 +03:00
parent 608c79d3de
commit a205f274b5
7 changed files with 529 additions and 132 deletions
+18
View File
@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Telegram.Bot.Types.ReplyMarkups;
namespace nsszcontactbot
{
internal static class InlineKeyboardMarkupExtensions
{
internal static InlineKeyboardMarkup AddCloseButton(this InlineKeyboardMarkup markup, bool newRow = true)
{
var buttonRow = newRow ? markup.AddNewRow() : markup;
return buttonRow.AddButton("❌ Закрыть", "close");
}
}
}