Package com.fussuchalice.bot.controllers
Class StartController
java.lang.Object
com.fussuchalice.bot.controllers.StartController
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
handleStartCommand
(DropboxUnofficialBot bot, long chatId) Handles the /start command by sending a welcome message and an image to the user.
-
Constructor Details
-
StartController
public StartController()
-
-
Method Details
-
handleStartCommand
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.
-