Releases: php-telegram-bot/core
Releases · php-telegram-bot/core
0.55.0
Notes
Added
Changed
- ❗ Move Animation entity out of Games namespace.
Fixed
- Added missing
video_note
toMessage
types.
0.54.1
0.54.0
Notes
Added
ChatAction
class to simplify chat action selection. (#859)- Telegram Games platform! (#732)
- Ability to set custom MySQL port. (#860)
- New
InvalidBotTokenException
exception. (#855)
Changed
- ❗ Rename and ensure no redefinition of constants:
BASE_PATH
->TB_BASE_PATH
,BASE_COMMANDS_PATH
->TB_BASE_COMMANDS_PATH
. (#813) - Improve readability of readme code snippets. (#861)
Fixed
- Response from
getStickerSet
. (#838)
0.53.0
Notes
Added
- Implemented new changes for Bot API 3.6 (streamable InputMediaVideo, connected website). (#799)
Telegram::getLastUpdateId()
method, returns ID of the last update that was processed. (#767)Telegram::useGetUpdatesWithoutDatabase()
method, enablesTelegram::handleGetUpdates()
to run without a database. (#767)
Changed
- Updated Travis to use Trusty containers (for HHVM) and add PHP 7.2 to the tests. (#739)
- Add debug log entry instead of throwing an exception for duplicate updates. (#765)
Telegram::handleGetUpdates()
can now work without a database connection (not enabled by default). (#767)- Improved
/sendtochannel
and/sendtoall
commands, using new message helpers. (#810)
Fixed
0.52.0
Notes
Fixed
Version 0.51.0
0.50.0
0.49.0
Notes
Added
- Donation section and links in readme.
- Missing payment methods in
Request
class. - Some helper methods for replying to commands and answering queries.
Changed
- Updated and optimised all DB classes, removing a lot of bulky code.
Fixed
- Ensure named SQL statement parameters are unique.
- Channel selection when using
DB::selectChats()
.
0.48.0
Notes
Added
- New entities, methods, update types and inline keyboard button for Payments (Bot API 3.0).
- Add new methods, fields and objects for working with stickers (Bot API 3.2).
- New fields for Chat, User and Message objects (Bot API 3.3).
is_bot
added touser
DB table.
Changed
- ❗ Corrected
ServerResponse->printError
method to print by default and return by setting$return
parameter. - Ensure command names are handled as lower case.
Fixed
- Correctly save
reply_to_message
to DB.
0.47.1
Notes
Added
- Linked version numbers in changelog for easy verification of code changes.
Fixed
- Private-only commands work with edited messages now too.