示例#1
0
 private static void Bot_OnCallbackQuery(object sender, CallbackQueryEventArgs e)
 {
     new Task(async() => await Handlers.OnCallbackQuery(e.CallbackQuery)).Start();
 }
示例#2
0
 private static void Bot_OnMessage(object sender, MessageEventArgs e)
 {
     new Task(async() => await Handlers.OnMessage(e.Message)).Start();
 }