Add java doc
This commit is contained in:
parent
10d39077eb
commit
92aa4e218e
@ -123,7 +123,7 @@ public class TelegramBotsApi {
|
||||
|
||||
/**
|
||||
* Register a bot. The Bot Session is started immediately, and may be disconnected by calling close.
|
||||
* @param bot
|
||||
* @param bot the bot to register
|
||||
*/
|
||||
public BotSession registerBot(TelegramLongPollingBot bot) throws TelegramApiException {
|
||||
setWebhook(bot.getBotToken());
|
||||
|
Loading…
Reference in New Issue
Block a user