- fix a mistake in the email prompt message

This commit is contained in:
nistootsin 2025-03-22 16:20:42 +03:30
parent a6cae1c8a5
commit f7872407d6

View file

@ -1171,7 +1171,7 @@ func (t *Tgbot) answerCallback(callbackQuery *telego.CallbackQuery, isAdmin bool
tu.InlineKeyboardButton(t.I18nBot("tgbot.buttons.use_default")).WithCallbackData("add_client_default_info"), tu.InlineKeyboardButton(t.I18nBot("tgbot.buttons.use_default")).WithCallbackData("add_client_default_info"),
), ),
) )
prompt_message := t.I18nBot("tgbot.messages.id_prompt", "ClientId=="+client_Email) prompt_message := t.I18nBot("tgbot.messages.email_prompt", "ClientEmail=="+client_Email)
t.SendMsgToTgbot(chatId, prompt_message, cancel_btn_markup) t.SendMsgToTgbot(chatId, prompt_message, cancel_btn_markup)
case "add_client_ch_default_id": case "add_client_ch_default_id":
userStates[chatId] = "awaiting_id" userStates[chatId] = "awaiting_id"