Class StartController

java.lang.Object
com.fussuchalice.bot.controllers.StartController

public class StartController extends Object
The StartController class is responsible for handling the start command in a Telegram bot. It sends a welcome message with a start image to the user.
  • Constructor Details

    • StartController

      public StartController()
  • Method Details

    • handleStartCommand

      public static void handleStartCommand(DropboxUnofficialBot bot, long chatId)
      Handles the /start command by sending a welcome message and an image to the user.
      Parameters:
      bot - The Telegram bot instance.
      chatId - The chat identifier to which the message should be sent.