예제 #1
0
 public static async void OnCallback(object sender, CallbackQueryEventArgs args)
 {
     BotUser us = handler.users.Find(x => x.chatId == args.CallbackQuery.Message.Chat.Id);
     await Task.Factory.StartNew(() => handler.HandleCallbackAsync(args.CallbackQuery, us));
 }