Example #1
0
 private static void BotOnCallbackQueryReceived(object sender, CallbackQueryEventArgs e)
 {
     new Task(() => { Handler.HandleQuery(e.CallbackQuery); }).Start();
 }
Example #2
0
 private static void BotOnMessageReceived(object sender, MessageEventArgs e)
 {
     new Task(() => { Handler.HandleMessage(e.Message); }).Start();
 }