All notable changes to telegram
will be documented in this file
- Laravel 11 Support.
- Fix Call to a member function toArray() on array by @tantrus332 in #174
- Add keyboard function to messages by @abbasudo in #183
- Add ability to change default parsing mode by @abbasudo in #185
- Addition of 'lineIf' method to messages by @MammutAlex in #190
Full Changelog: https://github.com/laravel-notification-channels/telegram/compare/4.0.0...5.0.0
- Fix Chunk method error by @faissaloux in #163
- Add escapedLine() method to TelegramMessage by @ziming in #168
- Laravel 10.x Compatibility by @laravel-shift in #167
- Drop support for PHP
< 8.1
.
Full Changelog: https://github.com/laravel-notification-channels/telegram/compare/3.0.0...4.0.0
- Send logic moved to drivers by @llabbasmkhll in ### #146
- Drop support for Laravel < 9.
- Convert tests to Pest and improve coverage in #151.
- Add TelegramUpdatesTests.
- Add PHPStan for static analysis using GitHub Action.
- Add Changelog updater workflow.
- Add Codecov for code coverage workflow.
- Improve GitHub action workflows.
- Clean and improve code.
- Remove the scrutinizer.
- Add
line()
method (adapted from a PR) by @llabbasmkhll in #149. - Upgrade required and dev packages.
- Normalize composer JSON file.
- Add type hints and return types were supported.
- Rename
TelegramSender
contract toTelegramSenderContract
- Harden error handling for JSON encode and decode methods.
- Improve doc blocks.
- Add
toArray()
method to TelegramUpdates to retrieve payload. - Restructure the tests directory.
- Add data to notification failed event in #156
- Add More Tests in #157
- @llabbasmkhll made their first contribution in #146
Full Changelog: https://github.com/laravel-notification-channels/telegram/compare/2.1.0...3.0.0
- Add Laravel 9 Support.
- Add Laravel conditional trait to payload builder to use
when
on methods chain. PR #139. - Drop support for older version of PHP
< 7.4
and Laravel< 8
.
- Register Telegram instance to container.
- Add
TelegramUpdates
to retrieve bot updates. PR #133. - Refactor TelegramChannel. PR #136.
- Add Retrieving Chat ID docs and improve docs.
- Add missing type declaration and minor improvements to various methods.
- Add Contact Support. PR #138.
- Add Poll Support. PR #130.
- Remove StyleCI in favor of GitHub Actions Workflow for Code Styling. PR #131.
- Add message chunking feature (
chunk($limit)
) in cases where the message is too long. Closes #127.
- Dropped PHP 7.1 support. PR #118.
- Dispatch event
NotificationFailed
on exception. PR #119. - Test against PHP 8.1. PR #120.
- Add support to use
TelegramChannel::class
in on-demand notification route. PR #122. - Refactor channel registration with the channel manager. PR #122.
- Add GitHub Actions workflows for tests and coverage. PR #103.
- Add alternate method to resolve Telegram notification channel. PR #110.
- Add
buttonWithCallback()
method. PR #114. - Revise file upload logic.
- Add more info on proxy setting.
- Remove dead badges.
- PHP 8 Support.
- Add previous
ClientException
when constructingCouldNotSendNotification
exception. PR #86. - Add Laravel 8 Support. PR #88.
- Add Bot token per notification support. Closed #84.
- Add view file support for notification content. Closed #82.
- Add support to set HTTP Client.
- Add Guzzle 7 Support. PR #80.
- Add support to set custom api
base_uri
for web bridge. - Revise README with instructions for Proxy or Bridge support.
- Revise on-demand notification instructions - Fixes #72.
- Fix typo in test.
- Remove redundant test.
- Remove exception when chat id isn't provided - PR #75.
- Add ability to set param in
disableNotification
method.
- Laravel 7 Support.
- Support response handling from Telegram.
- Support PHP 7.1 and up.
- New Helper Methods to work with file attachments.
- Code cleanup.
- Documentation updated with more examples and previews.
- Micro optimization and improvements.
- Typehint and return type declaration.
- Fixed tests.
- Laravel 6 Support.
- Add Photo, Document, Audio, Location and other file notification type support.
- Token getter and setter.
- Laravel 5.7 Support.
- Add ability to change button columns.
- Laravel 5.6 Support.
- Laravel 5.5 Support with Auto-Discovery.
- Laravel 5.4 Support.
- Initial Release.