1.9 KiB
1.9 KiB
2.4.3
- 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 ot 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
How to update to version 2.4.3
2.4.4
- Added
cache_time
to ÀnswerCallbackQuery method - Added field
forward_from_message_id
toMessage
object - Renamed
ReplyKeyboardHide
toReplyKeyboardRemove
and its fieldhide_keyboard
toremove_keyboard
- Added field
force
anddisable_edit_message
toSetGameScore
, removededit_message
one. - Added
channel_post
andedited_channel_post
toUpdate
object.
How to update to version 2.4.4
2.4.4.1
- New
max_connections
insetWebhook
method. - New
allowed_updates
insetWebhook
andgetUpdates
- New
deleteWebhook
method - Added new configs to DefaultBotOptions to handle
max_connections
andallowed_updates
2.4.4.3
- In
BotSession
, renamedclose
tostop
.Close
method is maintained for backward compatibility. - Support crating webhook with HTTP servers (HTTPS must be managed via external tools)