public interface ITelegramLongPollingBot
| Modifier and Type | Method and Description |
|---|---|
String |
getBotToken()
Return bot token to access Telegram API
|
String |
getBotUsername()
Return bot username of this bot
|
default void |
onClosing()
Called when the BotSession is being closed
|
void |
onUpdateReceived(Update update)
This method is called when receiving updates via GetUpdates method
|
void onUpdateReceived(Update update)
update - Update receivedString getBotUsername()
String getBotToken()
default void onClosing()
Copyright © 2016. All rights reserved.