Skip to content

Commit 802dc7e

Browse files
authored
Revise on-demand notification docs.
Fixes #72
1 parent ec9b511 commit 802dc7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ For a complete list of response fields, please refer the Telegram Bot API's [Mes
208208
```php
209209
use NotificationChannels\Telegram\TelegramChannel;
210210

211-
Notification::route(TelegramChannel::class, 'TELEGRAM_CHAT_ID')
211+
Notification::route('telegram', 'TELEGRAM_CHAT_ID')
212212
->notify(new InvoicePaid($invoice));
213213
```
214214

0 commit comments

Comments
 (0)