public abstract class TelegramLongPollingSessionBot extends TelegramLongPollingBot
exe| Constructor and Description |
|---|
TelegramLongPollingSessionBot() |
TelegramLongPollingSessionBot(ChatIdConverter chatIdConverter) |
| Modifier and Type | Method and Description |
|---|---|
Optional<org.apache.shiro.session.Session> |
getSession(org.telegram.telegrambots.meta.api.objects.Message message) |
void |
onUpdateReceived(org.telegram.telegrambots.meta.api.objects.Update update) |
abstract void |
onUpdateReceived(org.telegram.telegrambots.meta.api.objects.Update update,
Optional<org.apache.shiro.session.Session> botSession) |
void |
setChatIdConverter(ChatIdConverter chatIdConverter) |
void |
setSessionManager(org.apache.shiro.session.mgt.DefaultSessionManager sessionManager) |
clearWebhook, onClosingdownloadFile, downloadFile, downloadFileAsync, downloadFileAsync, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, getBaseUrl, getBotToken, sendApiMethod, sendApiMethodAsyncexecute, executeAsync, getMe, getMeAsync, getWebhookInfo, getWebhookInfoAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBotToken, getBotUsername, onUpdatesReceivedpublic TelegramLongPollingSessionBot()
public TelegramLongPollingSessionBot(ChatIdConverter chatIdConverter)
public void setSessionManager(org.apache.shiro.session.mgt.DefaultSessionManager sessionManager)
public void setChatIdConverter(ChatIdConverter chatIdConverter)
public void onUpdateReceived(org.telegram.telegrambots.meta.api.objects.Update update)
public Optional<org.apache.shiro.session.Session> getSession(org.telegram.telegrambots.meta.api.objects.Message message)
public abstract void onUpdateReceived(org.telegram.telegrambots.meta.api.objects.Update update, Optional<org.apache.shiro.session.Session> botSession)
Copyright © 2019. All rights reserved.