Releases: rubenlagus/TelegramBots
Releases · rubenlagus/TelegramBots
Bug fixing
Merge pull request #188 from rubenlagus/dev Update 2.4.4.4
Bug fixing
- In BotSession, renamed
close
tostop
.Close
method is maintained for backward compatibility. - Support creating webhook with HTTP servers (HTTPS must be managed via external tools) (#177).
Update bots api 2.3.1
- New
max_connections
insetWebhook
method. - New
allowed_updates
insetWebhook
andgetUpdates
- New
deleteWebhook
method - Added new configs to
DefaultBotOptions
to handlemax_connections
andallowed_updates
.
Bots API 2.3
Split in modeles
- Split library in two modules to allow custom implementations.
- Use Guice for dependency injection.
- Use Jackson for json (de)serialization.
- Added extra validation to methods before performing requests.
- BotOptions has been renamed to DefaultBotOptions. It allows now to set number of threads for async methods execution and the complete
RequestConfig
for customization purpose. - Added convenient method for
setChatId
using just aLong
value instead of an String. - In
SentCallback
methodonError
changed second parameter toTelegramApiRequestException
andonResult
now receives the deserialized answer (of typeT
) instead of aJSONObject
as second parameter - Moved to MIT license
Version 2.4.0 - Game Platform
- Update new version of Telegram Bots API
- Removed deprecated methods
- Improve Exceptions
- Added validations for mandatory fields in methods
- Added method to download files
- Improve closing session process.
- Added to Maven Central Repository, you can now use it just with:
<dependency>
<groupId>org.telegram</groupId>
<artifactId>telegrambots</artifactId>
<version>2.4</version>
</dependency>
Bug fixing
Please be aware of deprecated methods, will be removed in next mayor release
Added getWebhook info method
Added new method to get webhook information (if configured)
v2.3.3.7
Bug fixing
Added Clevero HOWTO.
v2.3.3.6
- Improvements in commands bot
- Support for proxys
Please be aware of deprecated methods, will be removed in next mayor release