6.8 KiB
6.8 KiB
4.2
- Update to Api version 4.2
- Fixed: #498, #578
4.1.2
- Removed unsafe dependencies
- Fix bugs: #535, #524, #563, #562 and #557
4.1
- Support for Api Version 4.1
- Fix #507 and #512
4.0.1
- Fix bug #499
4.0.0
- Support for Api Version 4.0
- Abilities: Internationalization
- Socks 5 support
- Improved spring boot start configuration
- Removed previously deprecated methods
- Support usage in Java 9 (library is still using java 8)
- Added chat-session bot module
How to update to version 4.0.0
3.6.1
- Support for proxy connections
- New module for Spring
- Bug fixing
3.6
- Support for Api Version 3.6
- Bug fixing and other improvements
3.5
- Support for Api Version 3.5
- Bug fixing: #168, #329 and #335
- Added processInvalidCommandUpdate (#337)
- AbilitiyBot update and tutorial (#324)
- Add DefaultBotCommand with message ID (#330)
- New wiki content (#326 and #327)
3.4
- Support for Api Version 3.4
- Use regular expressions to split parameters in
TelegramLongPollingCommandBot
(#309) - Option to handle bunch of updates at a time via
onUpdatesReceived
inTelegramLongPollingBot
(#284) - Fix characters encoding (#275)
3.3
- Support for Api Version 3.3
3.2
- Support for Api Version 3.2
- Deprecated all redundant methods in AbsSender, will be removed in next major release
- New Abstract methods
addStickerToSet
,createNewStickerSet
anduploadStickerFile
in AbsSender. - Abilities module
- Removed deprecated methods from previous versions
- Bug fixing: #257, #270
- Simplify code from DefaultAbsSender: #272
3.1.2
- Fix bug #266
3.1.1
- Fix bug #264
3.1.0
- Support for Api Version 3.1
- Simplified
DefaultAbsSender
- Added new abstract method
setChatPhoto
to AbsSender. - Added new method
execute
andexecuteAsync
that can be used to send any api method that extendsBotApiMethod
class. - Added new constructors to
GetChat
,GetChatAdministrators
,GetChatMember
,GetChatMemberCount
,KickChatMember
,LeaveChat
andUnbanChatMember
with mandatory fields as parameters.
How to update to version 3.1.0
3.0.2
- Bug Fixing: #250
- Added new module
telegrambots-extensions
that should contains any extensions of the API such as CommandBot or TimedBot. TelegramLongPollingCommandBot
receives now the bot username as constructor parameters, all deprecated constructors will be removed in next major release.getUsername
method fromTelegramLongPollingCommandBot
can be consideredfinal
and will be so in next major release.
How to update to version 3.0.2
3.0.1
- Added
getLevel
toBotLogger
class. - Fix wrong URL when setting webhook
- Bug Fixing: #244, #233
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
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
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.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.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
- 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.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