#pragma once #include namespace BotConstants { const int64_t NULL_PAYLOAD = -1; // Default value для payload const int64_t DISP_TITLES_NUM = 6; // Количество тайтлов, отображаемых на страничке const int64_t DISP_REVIEW_NUM = 4; // Количество ревью, отображаемых на страничке namespace Button { const std::string TO_MAIN_MENU = "Главное меню"; const std::string FIND_ANIME = "Найти аниме"; const std::string MY_TITLES = "Мои тайтлы"; const std::string PREV = "<<Назад"; const std::string NEXT = "Дальше>>"; } namespace Callback { const std::string ACTION = "action:"; const std::string FIND_ANIME = ACTION + "find_anime"; const std::string ADD_REVIEW = ACTION + "add_review"; const std::string ADD_STATUS = ACTION + "add_status"; const std::string STATUS = "status:"; const std::string WATCHING = STATUS + "watching"; const std::string SEEN = STATUS + "seen"; const std::string WANT = STATUS + "want"; const std::string THROWN = STATUS + "thrown"; const std::string NAVIGATION = "navigation:"; const std::string MAIN_MENU = NAVIGATION + "main_menu"; const std::string MY_TITLES = NAVIGATION + "my_titles"; const std::string LIST_PREV = NAVIGATION + "prev"; // Пагинация const std::string LIST_NEXT = NAVIGATION + "next"; // Пагинация const std::string NAV_BACK = NAVIGATION + "back"; // Возврат по стеку состояний const std::string CHOICE = "choice:"; const std::string ERROR = "error:"; const std::string ERROR_NAVIGATION = ERROR + NAVIGATION; const std::string ERROR_AUTH = ERROR + "auth"; } namespace Text { const std::string MAIN_MENU = "Вас приветствует nyanimedb бот:)\nЧего будем делать?"; const std::string SAD_ERROR = "У нас что-то случилось:(\nМы обязательно скоро исправимся"; const std::string AUTH_ERROR = "Проблемы с авторизацией, попробуйте авторизоваться повторно"; const std::string SERVER_ERROR = "Не удалось загрузить данные. Попробуйте позже."; } }