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