Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GregKuklin/email_AI
/ endpoints
Endpoints
80 in github.com/GregKuklin/email_AI
⨍
Functions
200
◇
Types & classes
22
↳
Endpoints
80
Route
amenities_done
router.callback_query(F.data == "amenities_done")
handlers/amenities_handler.py:None
Route
amenities_skip
router.callback_query(F.data == "amenities_skip")
handlers/amenities_handler.py:None
Route
back_to_favorites_list
router.callback_query(F.data == "back_to_favorites")
handlers/favorites_handler.py:None
Route
back_to_start
router.callback_query(F.data == "start")
handlers/inspiring_handler.py:None
Route
cancel_clear_favorites
router.callback_query(F.data == "confirm_clear_no")
handlers/favorites_handler.py:None
Route
cancel_custom_city
router.message(Command("cancel"), TourSearchFlow.waiting_custom_city)
handlers/params_handler.py:None
Route
cancel_custom_country
router.message(Command("cancel"), TourSearchFlow.waiting_custom_country)
handlers/params_handler.py:None
Route
cancel_custom_destination
router.message(Command("cancel"), TourSearchFlow.waiting_custom_destination)
handlers/params_handler.py:None
Route
change_search_criteria
router.callback_query(F.data == "change_criteria")
handlers/tour_feed_handler.py:None
Route
clarify_more
router.callback_query(F.data == "ai_clarify_more")
handlers/improved_tour_handler.py:None
Route
clear_all_favorites_confirmed
router.callback_query(F.data == "confirm_clear_yes")
handlers/favorites_handler.py:None
Route
cmd_favorites_handler
router.message(Command("favorites"))
handlers/start_handler.py:None
Route
cmd_help_handler
router.message(Command("help"))
handlers/start_handler.py:None
Route
cmd_start_handler
router.message(CommandStart())
handlers/start_handler.py:None
Route
cmd_tours_handler
router.message(Command("tours"))
handlers/start_handler.py:None
Route
confirm_ai_search
router.callback_query(F.data == "ai_confirm_search")
handlers/improved_tour_handler.py:None
Route
confirm_and_search
router.callback_query(F.data == "confirm_search")
handlers/params_handler.py:None
Route
confirm_clear_favorites
router.callback_query(F.data == "clear_all_favorites")
handlers/favorites_handler.py:None
Route
confirm_edited_params
router.callback_query(F.data == "confirm_edited_params", TourSearchFlow.editing_params)
handlers/edit_params_handler.py:None
Route
delete_favorite_tour
router.callback_query(F.data.startswith("delete_favorite_"))
handlers/favorites_handler.py:None
Route
departure_other_city
router.callback_query(F.data == "departure_other", TourSearchFlow.waiting_departure_city)
handlers/params_handler.py:None
Route
departure_skip_city
router.callback_query(F.data == "departure_skip", TourSearchFlow.waiting_departure_city)
handlers/params_handler.py:None
Route
description
router.message(F.text == "Описание бота")
handlers/description_handler.py:None
Route
edit_params
router.callback_query(F.data == "edit_params")
handlers/params_handler.py:None
Route
edit_single_param
router.callback_query(F.data.startswith("edit_param_"), TourSearchFlow.editing_params)
handlers/edit_params_handler.py:None
Route
find_tour_menu
router.message(F.text == "Подобрать тур")
handlers/find_tour_handler.py:None
Route
finish_hotel_questions
router.message(Command("done"), TourSearchFlow.asking_hotel_question)
handlers/tour_feed_handler.py:None
Route
generate_tour_pdf
router.callback_query(F.data.startswith("tour_pdf_"), TourSearchFlow.browsing_tours)
handlers/tour_feed_handler.py:None
Route
handle_adults_edit
router.callback_query(F.data.startswith("adults_"), TourSearchFlow.editing_single_param)
handlers/edit_params_handler.py:None
Route
handle_amenities_done_edit
router.callback_query(F.data == "amenities_done", TourSearchFlow.editing_single_param)
handlers/edit_params_handler.py:None
Route
handle_amenity_toggle_edit
router.callback_query(F.data.startswith("amenity_toggle_"), TourSearchFlow.editing_single_param)
handlers/edit_params_handler.py:None
Route
handle_budget_edit
router.callback_query(F.data.startswith("budget_"), TourSearchFlow.editing_single_param)
handlers/edit_params_handler.py:None
Route
handle_chat_message
router.message(F.text & ~F.text.in_(REPLY_BUTTONS))
handlers/chat_handler.py:None
Route
handle_clarification
router.message(TourSearchFlow.clarifying_params)
handlers/improved_tour_handler.py:None
Route
handle_contextual_edit
router.message(TourSearchFlow.ai_editing_context)
handlers/improved_tour_handler.py:None
Route
handle_country_edit
router.callback_query(F.data.startswith("country_"), TourSearchFlow.editing_single_param)
handlers/edit_params_handler.py:None
Route
handle_country_page
router.callback_query(F.data.startswith("country_page_"), TourSearchFlow.waiting_country)
handlers/params_handler.py:None
Route
handle_country_page_edit
router.callback_query(F.data.startswith("country_page_"), TourSearchFlow.editing_single_param)
handlers/edit_params_handler.py:None
Route
handle_custom_city
router.message(TourSearchFlow.waiting_custom_city)
handlers/params_handler.py:None
Route
handle_custom_country
router.message(TourSearchFlow.waiting_custom_country)
handlers/params_handler.py:None
Route
handle_custom_destination
router.message(TourSearchFlow.waiting_custom_destination)
handlers/params_handler.py:None
Route
handle_dates
router.message(TourSearchFlow.waiting_dates)
handlers/params_handler.py:None
Route
handle_departure_edit
router.callback_query(F.data.startswith("departure_"), TourSearchFlow.editing_single_param)
handlers/edit_params_handler.py:None
Route
handle_display_callbacks
router.callback_query(F.data == "param_display")
handlers/edit_params_handler.py:None
Route
handle_free_text
router.message(TourSearchFlow.waiting_free_text)
handlers/improved_tour_handler.py:None
Route
handle_hotel_question
router.message(TourSearchFlow.asking_hotel_question)
handlers/tour_feed_handler.py:None
Route
handle_kids_ages
router.message(TourSearchFlow.waiting_kids_ages)
handlers/params_handler.py:None
Route
handle_kids_edit
router.callback_query(F.data.startswith("kids_"), TourSearchFlow.editing_single_param)
handlers/edit_params_handler.py:None
Route
handle_nights_edit
router.callback_query(F.data.startswith("nights_"), TourSearchFlow.editing_single_param)
handlers/edit_params_handler.py:None
Route
handle_stars_edit
router.callback_query(F.data.startswith("stars_"), TourSearchFlow.editing_single_param)
handlers/edit_params_handler.py:None
Route
handle_text_param_edit
router.message(TourSearchFlow.editing_single_param)
handlers/edit_params_handler.py:None
Route
inspiring
router.message(F.text == "Получить вдохновение")
handlers/inspiring_handler.py:None
Route
next_tour
router.callback_query(F.data == "tour_next", TourSearchFlow.browsing_tours)
handlers/tour_feed_handler.py:None
Route
prev_tour
router.callback_query(F.data == "tour_prev", TourSearchFlow.browsing_tours)
handlers/tour_feed_handler.py:None
Route
process_inspiration_category
router.callback_query(F.data.in_(["sea", "city", "nature", "beauty", "calm"]))
handlers/inspiring_handler.py:None
Route
return_to_browsing
router.callback_query(F.data == "return_to_browsing", TourSearchFlow.browsing_tours)
handlers/tour_feed_handler.py:None
Route
return_to_start
router.callback_query(F.data == "return_to_start")
handlers/tour_feed_handler.py:None
Route
save_to_favorites
router.callback_query(F.data.startswith("tour_save_"), TourSearchFlow.browsing_tours)
handlers/tour_feed_handler.py:None
Route
select_adults
router.callback_query(F.data.startswith("adults_"))
handlers/params_handler.py:None
Route
select_all_country
router.callback_query(F.data == "destination_all", TourSearchFlow.waiting_destination_city)
handlers/params_handler.py:None
Route
select_budget
router.callback_query(F.data.startswith("budget_"))
handlers/params_handler.py:None
Route
select_country
router.callback_query(F.data.startswith("country_"), TourSearchFlow.waiting_country)
handlers/params_handler.py:None
Route
select_custom_destination
router.callback_query(F.data == "destination_custom", TourSearchFlow.waiting_destination_city)
handlers/params_handler.py:None
Route
select_departure_city
router.callback_query(F.data.startswith("departure_"), TourSearchFlow.waiting_departure_city)
handlers/params_handler.py:None
Route
select_destination_city
router.callback_query(F.data.startswith("destination_"), TourSearchFlow.waiting_destination_city)
handlers/params_handler.py:None
Route
select_kids
router.callback_query(F.data.startswith("kids_"))
handlers/params_handler.py:None
Route
select_nights
router.callback_query(F.data.startswith("nights_"))
handlers/params_handler.py:None
Route
select_other_country
router.callback_query(F.data == "country_other", TourSearchFlow.waiting_country)
handlers/params_handler.py:None
Route
select_stars
router.callback_query(F.data.startswith("stars_"))
handlers/params_handler.py:None
Route
show_edit_params_menu
router.callback_query(F.data == "show_edit_menu")
handlers/edit_params_handler.py:None
Route
show_favorites
router.message(F.text == "Мои заметки")
handlers/favorites_handler.py:None
Route
show_hotel_details
router.callback_query(F.data.startswith("hotel_details_"), TourSearchFlow.browsing_tours)
handlers/tour_feed_handler.py:None
Route
show_hotel_rooms
router.callback_query(F.data.startswith("hotel_rooms_"), TourSearchFlow.browsing_tours)
handlers/tour_feed_handler.py:None
Route
start_free_text_flow
router.callback_query(F.data == "improved_questions")
handlers/improved_tour_handler.py:None
Route
start_handler
router.callback_query(F.data == "start")
handlers/start_handler.py:None
Route
start_hotel_question
router.callback_query(F.data.startswith("hotel_question_"), TourSearchFlow.browsing_tours)
handlers/tour_feed_handler.py:None
Route
start_params_flow
router.callback_query(F.data == "enter_params")
handlers/params_handler.py:None
Route
toggle_amenity
router.callback_query(F.data.startswith("amenity_toggle_"))
handlers/amenities_handler.py:None
Route
tour_info
router.callback_query(F.data == "tour_info", TourSearchFlow.browsing_tours)
handlers/tour_feed_handler.py:None
Route
view_favorite_tour
router.callback_query(F.data.startswith("view_favorite_"))
handlers/favorites_handler.py:None