Interface TelegramUIService

All Known Implementing Classes:
TelegramUIServiceImpl

public interface TelegramUIService
Service interface for managing Telegram bot UI interactions.
  • Method Details

    • showMainMenu

      void showMainMenu(String chatId)
      Displays the main menu to the user.
      Parameters:
      chatId - Telegram chat ID
    • showStatesList

      void showStatesList(String chatId)
      Shows a list of available states.
      Parameters:
      chatId - Telegram chat ID
    • showStateOptions

      void showStateOptions(String chatId, String state)
      Displays options available for a specific state.
      Parameters:
      chatId - Telegram chat ID
      state - Name of the state
    • showDistrictsForState

      void showDistrictsForState(String chatId, String state)
      Shows districts within a specific state.
      Parameters:
      chatId - Telegram chat ID
      state - Name of the state
    • showCitiesForState

      void showCitiesForState(String chatId, String state)
      Shows cities within a specific state.
      Parameters:
      chatId - Telegram chat ID
      state - Name of the state
    • showWeatherResult

      void showWeatherResult(String chatId, String location, String weatherInfo)
      Displays weather information for a location.
      Parameters:
      chatId - Telegram chat ID
      location - Name of the location
      weatherInfo - Weather information to display
    • findStateForLocation

      String findStateForLocation(String location)
      Finds the state that contains a specific location.
      Parameters:
      location - Name of the location
      Returns:
      Name of the state containing the location