Add java doc

This commit is contained in:
tschulz 2016-05-20 11:13:29 +02:00
parent 10d39077eb
commit 92aa4e218e

View File

@ -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());