You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,8 +57,8 @@ Then, configure your Telegram Bot API Token:
57
57
58
58
#### (Optional) Proxy or Bridge Support
59
59
60
-
You may not be able to send notifications if Telegram Bot API is not accessible in your country,
61
-
you can either set a proxy by following the instructions [here](http://docs.guzzlephp.org/en/stable/quickstart.html#environment-variables) or
60
+
You may not be able to send notifications if Telegram Bot API is not accessible in your country,
61
+
you can either set a proxy by following the instructions [here](http://docs.guzzlephp.org/en/stable/quickstart.html#environment-variables) or
62
62
use a web bridge by setting the `base_uri` config above with the bridge uri.
63
63
64
64
You can set `HTTPS_PROXY` in your `.env` file.
@@ -89,10 +89,10 @@ class InvoicePaid extends Notification
89
89
->to($notifiable->telegram_user_id)
90
90
// Markdown supported.
91
91
->content("Hello there!\nYour invoice has been *PAID*")
92
-
92
+
93
93
// (Optional) Blade template for the content.
94
94
// ->view('notification', ['url' => $url])
95
-
95
+
96
96
// (Optional) Inline Buttons
97
97
->button('View Invoice', $url)
98
98
->button('Download Invoice', $url)
@@ -213,11 +213,9 @@ For a complete list of response fields, please refer the Telegram Bot API's [Mes
213
213
214
214
### On-Demand Notifications
215
215
216
-
> Sometimes you may need to send a notification to someone who is not stored as a "user" of your application. Using the `Notification::route` method, you may specify ad-hoc notification routing information before sending the notification. For more details, you can check out the [on-demand notifications](https://laravel.com/docs/5.8/notifications#on-demand-notifications) docs.
216
+
> Sometimes you may need to send a notification to someone who is not stored as a "user" of your application. Using the `Notification::route` method, you may specify ad-hoc notification routing information before sending the notification. For more details, you can check out the [on-demand notifications](https://laravel.com/docs/8.x/notifications#mailables-and-on-demand-notifications) docs.
217
217
218
218
```php
219
-
use NotificationChannels\Telegram\TelegramChannel;
0 commit comments