Skip to content

Commit 1996829

Browse files
committed
Revise README
1 parent f260c81 commit 1996829

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -220,15 +220,14 @@ Preview:
220220
public function toTelegram($notifiable)
221221
{
222222
return TelegramPoll::create()
223-
->to($chatId)
224-
->question('What is your favorite programming language?')
225-
->choices(['PHP', 'Python', 'JavaScript', 'Java', 'C#']);
223+
->question('Which is your favorite Laravel Notification Channel?')
224+
->choices(['Telegram', 'Facebook', 'Slack']);
226225
}
227226
```
228227

229228
Preview:
230229

231-
![Laravel Telegram Poll Example](https://user-images.githubusercontent.com/60013703/143135248-1224a69b-3233-4686-8a59-d41517d8c722.png)
230+
![Laravel Telegram Poll Example](https://github.com/user-attachments/assets/7324ccc5-9370-414a-9337-10c4e7446f5c)
232231

233232
### Attach a Contact
234233

@@ -245,7 +244,7 @@ public function toTelegram($notifiable)
245244

246245
Preview:
247246

248-
![Laravel Telegram Contact Example](https://user-images.githubusercontent.com/60013703/143510191-1d0f8e08-bd9a-4be5-8978-e6561508b47a.png)
247+
![Laravel Telegram Contact Example](https://github.com/user-attachments/assets/24f6e1c9-3ed6-4839-b9da-64ce09d09663)
249248

250249
### Attach an Audio
251250

0 commit comments

Comments
 (0)