Beispiel #1
0
 protected void ReplyMarkup_ButtonClick(object sender, ReplyMarkupButtonClickEventArgs e)
 {
     if (ViewModel is TLMessage message)
     {
         Context?.KeyboardButtonExecute(e.Button, message);
     }
 }
Beispiel #2
0
 private void ReplyMarkup_ButtonClick(object sender, ReplyMarkupButtonClickEventArgs e)
 {
     ViewModel.KeyboardButtonExecute(e.Button, null);
 }
Beispiel #3
0
 protected void ReplyMarkup_ButtonClick(object sender, ReplyMarkupButtonClickEventArgs e)
 {
     Context?.KeyboardButtonExecute(e.Button, ViewModel);
 }