예제 #1
0
 /// <summary>
 /// Метод начинает обработку полученного сообщения
 /// </summary>
 /// <param name="chat"></param>
 /// <returns></returns>
 private async Task MessageHandling(Conversation chat)
 {
     await messenger.InitUserDictionary(chat);
 }
예제 #2
0
 private async Task SendTextWithKeyBoard(Conversation chat, string text, InlineKeyboardMarkup keyboard)
 {
     await botClient.SendTextMessageAsync(chatId : chat.GetId(), text : text, replyMarkup : keyboard);
 }
예제 #3
0
 private async Task SendMessage(Conversation chat)
 {
     await messanger.MakeAnswer(chat);
 }
예제 #4
0
 private async Task SendText(Conversation chat, string text)
 {
     await botClient.SendTextMessageAsync(chatId : chat.GetId(), text : text);
 }