3.2 KiB
3.2 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)
How to update to version 2.4.4.3
2.4.4.4
- EditMessageText, EditMessageCaption and EditMessageReplyMarkup now return a
Serializable
object that can beBoolean
orMessage
How to update to version 2.4.4.4
2.4.4.5
- New validations for AnswerInlineQuery according to Telegram Bots API changes.
- Added Maven-enforcer-plugin to Maven pom.
- Added new How to send photos by file_id to FAQ.
- Added reference to new gitbook about this library.
- Added custom ExponentialBackOff waiting time when having network problems in long-polling mode. (Custom implementation is allowed via BotOptions)
- Bug fixing: #184, #183
3.0
- New field
gif_duration
andmpeg4_duration
inInlineQueryResultGif
andInlineQueryResultMpeg4Gif
. - Field
new_chat_member
was replaced bynew_chat_members
inMessage
object. - Some methods gets now constructors with mandatory parameters to simplify their creation (including preconditions).
- New
deleteMessage
method. - New field
language_code
inUser
object. - New Payments API methods
- New Video Messages API methods
3.0.1
- Added
getLevel
toBotLogger
class. - Fix wrong URL when setting webhook
- Bug Fixing: #244, #233