using System; using System.Collections.Generic; using System.Text; using Telegram.Bot.Types; namespace TelegramBotBase.Commands { public static class Extensions { /// /// Adding the default /start command with a description. /// /// /// public static void AddStartCommand(this List cmds, String description) { cmds.Add(new BotCommand() { Command = "/start", Description = description }); } /// /// Adding the default /help command with a description. /// /// /// public static void AddHelpCommand(this List cmds, String description) { cmds.Add(new BotCommand() { Command = "/help", Description = description }); } /// /// Adding the default /settings command with a description. /// /// /// public static void AddSettingsCommand(this List cmds, String description) { cmds.Add(new BotCommand() { Command = "/settings", Description = description }); } } }