예제 #1
0
 static async void Bot_OnCallbackQuery(object sender, CallbackQueryEventArgs e)
 {
     //SchemaWalker.WalkThroughSchema(e.Message.Chat.Id, e.Message.Text, config);
     SchemaWalker.WalkThroughSchema(e.CallbackQuery.Message.Chat.Id, e.CallbackQuery.Data, config, e.CallbackQuery);
 }
예제 #2
0
 static async void Bot_OnMessage(object sender, MessageEventArgs e)
 {
     //ToDo: add await
     SchemaWalker.WalkThroughSchema(e.Message.Chat.Id, e.Message.Text, config, null);
 }