Example #1
0
 public static InlineKeyboardButton Stop(string service) => new InlineKeyboardButton
 {
     Text         = "Stop ⛔️",
     CallbackData = CallbackParser.CreateCallbackData(service, null, Commands.Stop)
 };
Example #2
0
 public static InlineKeyboardButton Build(string service) => new InlineKeyboardButton
 {
     Text         = "Build 🔨",
     CallbackData = CallbackParser.CreateCallbackData(service, null, Commands.Build)
 };
Example #3
0
 public static InlineKeyboardButton Restart(string service) => new InlineKeyboardButton
 {
     Text         = "Restart ♻️",
     CallbackData = CallbackParser.CreateCallbackData(service, null, Commands.Restart)
 };
Example #4
0
 public static InlineKeyboardButton Back() => new InlineKeyboardButton
 {
     Text         = "🔙",
     CallbackData = CallbackParser.CreateCallbackData(null, null, Commands.ListServices)
 };