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
-[Sending to Multiple Recipients](#sending-to-multiple-recipients)
33
35
-[Available Methods](#available-methods)
@@ -364,7 +366,7 @@ In case of failures, the package provides two ways to handle exceptions.
364
366
365
367
#### Using NotificationFailed Event
366
368
367
-
You can listen to the `Illuminate\Notifications\Events\NotificationFailed` event, which provides a `$data` array containing `to`, `request`, and `exception` keys.
369
+
> You can listen to the `Illuminate\Notifications\Events\NotificationFailed` event, which provides a `$data` array containing `to`, `request`, and `exception` keys.
368
370
369
371
Listener example:
370
372
```php
@@ -395,7 +397,7 @@ class HandleNotificationFailure
395
397
396
398
#### Using onError Callback
397
399
398
-
You can handle exceptions for individual notifications using the `onError` method in your notification:
400
+
> You can handle exceptions for individual notifications using the `onError` method in your notification:
399
401
400
402
```php
401
403
public function toTelegram($notifiable)
@@ -469,7 +471,7 @@ For more information on supported parameters, check out these [docs](https://cor
469
471
470
472
### Telegram Message Methods
471
473
472
-
Telegram message notifications are used to send text messages to the user. Supports [Telegram formatting options](https://core.telegram.org/bots/api#formatting-options)
474
+
> Telegram message notifications are used to send text messages to the user. Supports [Telegram formatting options](https://core.telegram.org/bots/api#formatting-options)
473
475
474
476
-`content(string $content, int $limit = null)` - Set message content with optional length limit. Supports markdown.
475
477
-`line(string $content)` - Add new line of content.
@@ -482,14 +484,14 @@ Telegram message notifications are used to send text messages to the user. Suppo
482
484
483
485
### Telegram Location Methods
484
486
485
-
Telegram location messages are used to share a geographical location with the user.
487
+
> Telegram location messages are used to share a geographical location with the user.
486
488
487
489
-`latitude(float|string $latitude)` - Set location latitude.
488
490
-`longitude(float|string $longitude)` - Set location longitude.
489
491
490
492
### Telegram File Methods
491
493
492
-
Telegram file messages are used to share various types of files with the user.
494
+
> Telegram file messages are used to share various types of files with the user.
493
495
494
496
-`content(string $content)` - Set file caption. Supports markdown.
495
497
-`view(string $view, array $data = [], array $mergeData = [])` - Use Blade template for caption.
@@ -507,7 +509,7 @@ Telegram file messages are used to share various types of files with the user.
507
509
508
510
### Telegram Contact Methods
509
511
510
-
Telegram contact messages are used to share contact information with the user.
512
+
> Telegram contact messages are used to share contact information with the user.
511
513
512
514
-`phoneNumber(string $phone)` - Set contact phone.
513
515
-`firstName(string $name)` - Set contact first name.
@@ -516,7 +518,7 @@ Telegram contact messages are used to share contact information with the user.
516
518
517
519
### Telegram Poll Methods
518
520
519
-
Telegram polls are a type of interactive message that allows users to vote on a question. Polls can be used to gather feedback, make decisions, or even run contests.
521
+
> Telegram polls are a type of interactive message that allows users to vote on a question. Polls can be used to gather feedback, make decisions, or even run contests.
520
522
521
523
-`question(string $question)` - Set poll question.
0 commit comments