Beispiel #1
0
 public override Task Handle()
 {
     return(Owner.SendTextMessageAsync(ChatID, "Main menu", ParseMode.Default, true, false, 0, Keyboards.MainMenu(), default));
 }
Beispiel #2
0
 public static Task SendMainMenu(this TelegramBotClient client, long chatId)
 {
     return(client.SendTextMessageAsync(chatId, "Main menu", ParseMode.Default, false, false, 0, Keyboards.MainMenu(), default));
 }