Esempio n. 1
0
 public QueueMessage AskNameMessage(string telegramName) => new QueueMessage(ChatId, MessageId)
 {
     Text = GeneralMessageDictionary.NameMessage +
            (string.IsNullOrWhiteSpace(telegramName) ? "" : "\nВыбери или укажи свой вариант"),
     ReplyMarkup = string.IsNullOrWhiteSpace(telegramName)
         ? BotHelper.GetRemoveKeyboard()
         : BotHelper.GetKeyboardForName(telegramName)
 };