Merge pull request #1023 from chengza/master
fix botOptions not working with session bot
This commit is contained in:
commit
bd6665ccc5
@ -27,6 +27,7 @@ public abstract class TelegramLongPollingSessionBot extends TelegramLongPollingB
|
|||||||
}
|
}
|
||||||
|
|
||||||
public TelegramLongPollingSessionBot(ChatIdConverter chatIdConverter, DefaultBotOptions defaultBotOptions){
|
public TelegramLongPollingSessionBot(ChatIdConverter chatIdConverter, DefaultBotOptions defaultBotOptions){
|
||||||
|
super(defaultBotOptions);
|
||||||
this.setSessionManager(new DefaultSessionManager());
|
this.setSessionManager(new DefaultSessionManager());
|
||||||
this.setChatIdConverter(chatIdConverter);
|
this.setChatIdConverter(chatIdConverter);
|
||||||
AbstractSessionDAO sessionDAO = (AbstractSessionDAO) sessionManager.getSessionDAO();
|
AbstractSessionDAO sessionDAO = (AbstractSessionDAO) sessionManager.getSessionDAO();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user