Skip to content

Commit 657d7d0

Browse files
committed
Remove dead badges and revise proxy info.
1 parent 8cc07d8 commit 657d7d0

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
[![Chat on Telegram][ico-telegram]][link-telegram]
55
[![Latest Version on Packagist][ico-version]][link-packagist]
66
[![Software License][ico-license]](LICENSE.md)
7-
[![SensioLabsInsight][ico-sensiolabs]][link-sensiolabs]
87
[![Quality Score][ico-code-quality]][link-code-quality]
98
[![Total Downloads][ico-downloads]][link-packagist]
109

@@ -62,6 +61,8 @@ You may not be able to send notifications if Telegram Bot API is not accessible
6261
you can either set a proxy by following the instructions [here](http://docs.guzzlephp.org/en/stable/quickstart.html#environment-variables) or
6362
use a web bridge by setting the `base_uri` config above with the bridge uri.
6463

64+
You can set `HTTPS_PROXY` in your `.env` file.
65+
6566
## Usage
6667

6768
You can now use the channel in your `via()` method inside the Notification class.
@@ -249,7 +250,7 @@ Notification::route('telegram', 'TELEGRAM_CHAT_ID')
249250
- `token($token)`: (string) Bot token if you wish to override the default token for a specific notification (optional).
250251
- `content('')`: (string) File caption, supports markdown. For more information on supported markdown styles, check out these [docs](https://telegram-bot-sdk.readme.io/reference#section-formatting-options).
251252
- `view($view, $data = [], $mergeData = [])`: (string) Blade template name with Telegram supported HTML or Markdown syntax content if you wish to use a view file instead of the `content()` method.
252-
- `file($file, $type, $filename = null)`: Local file path or remote URL, `$type` of the file (Ex:`photo`, `audio`, `document`, `video`, `animation`, `voice`, `video_note_`) and optionally filename with extension. Ex: `sample.pdf`. You can use helper methods instead of using this to make it easier to work with file attachment.
253+
- `file(string|resource|StreamInterface $file, $type, $filename = null)`: Local file path or remote URL, `$type` of the file (Ex:`photo`, `audio`, `document`, `video`, `animation`, `voice`, `video_note_`) and optionally filename with extension. Ex: `sample.pdf`. You can use helper methods instead of using this to make it easier to work with file attachment.
253254
- `photo($file)`: Helper method to attach a photo.
254255
- `audio($file)`: Helper method to attach an audio file (MP3 file).
255256
- `document($file, $filename = null)`: Helper method to attach a document or any file as document.
@@ -297,19 +298,15 @@ The MIT License (MIT). Please see [License File](LICENSE.md) for more informatio
297298
[ico-telegram]: https://img.shields.io/badge/@PHPChatCo-2CA5E0.svg?style=flat-square&logo=telegram&label=Telegram
298299
[ico-version]: https://img.shields.io/packagist/v/laravel-notification-channels/telegram.svg?style=flat-square
299300
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
300-
[ico-travis]: https://img.shields.io/travis/laravel-notification-channels/telegram/master.svg?style=flat-square
301301
[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/laravel-notification-channels/telegram.svg?style=flat-square
302302
[ico-code-quality]: https://img.shields.io/scrutinizer/g/laravel-notification-channels/telegram.svg?style=flat-square
303303
[ico-downloads]: https://img.shields.io/packagist/dt/laravel-notification-channels/telegram.svg?style=flat-square
304-
[ico-sensiolabs]: https://img.shields.io/sensiolabs/i/d28e31ec-55ce-4306-88a3-84d5d14ad3db.svg?style=flat-square
305304

306305
[link-phpchat]: https://phpchat.co/?ref=laravel-channel-telegram
307306
[link-telegram]: https://t.me/PHPChatCo
308307
[link-repo]: https://github.com/laravel-notification-channels/telegram
309308
[link-packagist]: https://packagist.org/packages/laravel-notification-channels/telegram
310-
[link-travis]: https://travis-ci.org/laravel-notification-channels/telegram
311309
[link-scrutinizer]: https://scrutinizer-ci.com/g/laravel-notification-channels/telegram/code-structure
312-
[link-sensiolabs]: https://insight.sensiolabs.com/projects/d28e31ec-55ce-4306-88a3-84d5d14ad3db
313310
[link-code-quality]: https://scrutinizer-ci.com/g/laravel-notification-channels/telegram
314311
[link-author]: https://github.com/irazasyed
315312
[link-contributors]: ../../contributors

0 commit comments

Comments
 (0)