Skip to content

Releases: php-telegram-bot/core

0.76.0

20 Mar 16:19
4f2f6e7
Compare
Choose a tag to compare

Notes

Added

Changed

  • Bugfix: Fixed condition in \Longman\TelegramBot\Entities\Chat::isGroupChat() that previously also counted super groups and channels. (@TiiFuchs)

Version 0.75.0

29 Dec 05:46
13879c4
Compare
Choose a tag to compare

Notes

Added

Removed

  • Removed deprecated ChatAction:: RECORD_AUDIO and UPLOAD_AUDIO. Use RECORD_VOICE and UPLOAD_VOICE instead. (@TiiFuchs) (#1267)

Fixed

Version 0.74.0

26 Jun 18:24
6d62ea1
Compare
Choose a tag to compare

Notes

Added

Version 0.73.1

20 Jun 08:51
163ca3b
Compare
Choose a tag to compare

Notes

Fixed

  • Allow new optional parameters when setting and deleting webhook. (@TiiFuchs) (#1226)

Version 0.73.0

14 Jun 14:06
ed2df60
Compare
Choose a tag to compare

Notes

Added

  • Bot API 5.2 (Payments 2.0). (#1216)
  • Possibility to connect to MySQL DB with unix socket. (#1220)

Changed

  • Telegram::runCommands returns array of ServerResponse objects of executed commands. (#1223)

Fixed

  • Regex for namespace extraction from custom command classes.
  • Nested and user-triggered Telegram::runCommands. (#1223)

Version 0.72.0

16 Apr 22:10
b6ea355
Compare
Choose a tag to compare

Notes

Added

Deprecated

  • Telegram::handleGetUpdates method should be passed a $data array for parameters. (#1202)

Fixed

  • message.edit_date is now of type timestamp. (#1191)
  • Allow all update types by default when using getUpdates method. (#1202)

Version 0.71.0

05 Mar 14:03
9ca6158
Compare
Choose a tag to compare

Notes

Added

  • Define a custom Bot API server and file download URI. (#1168)

Changed

  • Improved error messages for empty input. (#1164)
  • Log update when processing it, not when fetching input. (#1164)

Fixed

  • getUpdates method wrongly sends only 1 Update when a limit of 0 is passed. (#1169)
  • Telegram::runCommands() now passes the correct message text to the commands. (#1181)
  • Request limiter accepts chat ID as integer and string. (#1182)
  • Calling Keyboard constructor without any parameters. (@hutattedonmyarm) (#1184)

Version 0.70.1

25 Dec 20:19
2093cff
Compare
Choose a tag to compare

Notes

Added

  • Extra parameter for Request::sendMessage() to pass options and return all response objects for split messages. (#1163)

Fixed

  • Ensure download and upload path variables are defined. (#1162)

Version 0.70.0

21 Dec 20:54
7ecda69
Compare
Choose a tag to compare

Notes

Added

  • Bot API 5.0 (Big update!). (#1147)

Changed

Security

Version 0.64.0

04 Oct 00:03
fb55e78
Compare
Choose a tag to compare

Notes

Added

Fixed

  • Correct SQL migration script for older versions of MySQL. (#1135)