What's Changed
- Add support for Laravel 12.
- Add
TelegramVenue
to supportsendVenue
method. - Add
sticker
method to theTelegramFile
to send sticker file. - Add
sendWhen
method to conditionally send a message. - Add ParseMode Enum and refactor parsing mode setting logic.
- Add
buttonWithWebApp
method to open web app from a button. - Add
onError
method to handle exceptions. Based of #201 by @Hesammousavi. - Refactor
sendFile
to support raw data sending. - Refactor
escapedLine
method. - Refactor
HasSharedLogic
trait. - Refactor classes to use PHP 8.2 features.
- Revise
keyboard
method parameters to$requestLocation
and$requestContact
to be consistent. - Fix sending document with content on-fly #200.
- Drop support for Laravel 10.
- Drop support for PHP 8.1.
New Contributors
- @Hesammousavi made their first contribution in #201
Full Changelog: 5.0.0...6.0.0