Skip to content

Commit

Permalink
Revise
Browse files Browse the repository at this point in the history
  • Loading branch information
irazasyed committed Oct 17, 2024
1 parent 9b2d01a commit fa246b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ if($updates['ok']) {
}
```

[!NOTE]
> [!NOTE]
> This method will not work if an outgoing webhook is set up.

For a complete list of available parameters for the `options`, see [Telegram Bot API docs][link-telegram-docs-getupdates].
Expand Down Expand Up @@ -439,6 +439,7 @@ Notification::route('telegram', 'TELEGRAM_CHAT_ID')

Using the [notification facade][link-notification-facade] you can send a notification to multiple recipients at once.

> [!WARNING]
> If you're sending bulk notifications to multiple users, the Telegram Bot API will not allow more than 30 messages per second or so.
> Consider spreading out notifications over large intervals of 8—12 hours for best results.
>
Expand Down Expand Up @@ -485,7 +486,7 @@ For more information on supported parameters, check out these [docs](https://cor
- `view(string $view, array $data = [], array $mergeData = [])` - Use Blade template with Telegram supported HTML or Markdown syntax content if you wish to use a view file instead of the `content()` method.
- `chunk(int $limit = 4096)` - Split long messages (rate limited to 1/second).

[!NOTE]
> [!NOTE]
> Chunked messages will be rate limited to one message per second to comply with rate limitation requirements from Telegram.

### Telegram Location Methods
Expand Down

0 comments on commit fa246b5

Please sign in to comment.