Skip to content

Commit bd1d67c

Browse files
authored
Update docs
1 parent 5f26a53 commit bd1d67c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ Notification::route(TelegramChannel::class, 'TELEGRAM_CHAT_ID')
217217
- `to($chatId)`: (integer) Recipient's chat id.
218218
- `content('')`: (string) Notification message, supports markdown. For more information on supported markdown styles, check out these [docs](https://telegram-bot-sdk.readme.io/reference#section-formatting-options).
219219
- `button($text, $url)`: (string) Adds an inline "Call to Action" button. You can add as many as you want and they'll be placed 2 in a row.
220-
- `disableNotification()`: Send the message silently. Users will receive a notification with no sound.
220+
- `disableNotification($disableNotification = true)`: (bool) Send the message silently. Users will receive a notification with no sound.
221221
- `options([])`: (array) Allows you to add additional or override `sendMessage` payload (A Telegram Bot API method used to send message internally). For more information on supported parameters, check out these [docs](https://telegram-bot-sdk.readme.io/docs/sendmessage).
222222

223223
### Available Location methods
@@ -226,7 +226,7 @@ Notification::route(TelegramChannel::class, 'TELEGRAM_CHAT_ID')
226226
- `latitude($latitude)`: (float|string) Latitude of the location.
227227
- `longitude($longitude)`: (float|string) Longitude of the location.
228228
- `button($text, $url)`: (string) Adds an inline "Call to Action" button. You can add as many as you want and they'll be placed 2 in a row.
229-
- `disableNotification()`: Send the message silently. Users will receive a notification with no sound.
229+
- `disableNotification($disableNotification = true)`: (bool) Send the message silently. Users will receive a notification with no sound.
230230
- `options([])`: (array) Allows you to add additional or override the payload.
231231

232232
### Available File methods
@@ -242,7 +242,7 @@ Notification::route(TelegramChannel::class, 'TELEGRAM_CHAT_ID')
242242
- `voice($file)`: Helper method to attach a voice note (`.ogg` file with OPUS encoded).
243243
- `videoNote($file)`: Helper method to attach a video note file (Upto 1 min long, rounded square video).
244244
- `button($text, $url)`: (string) Adds an inline "Call to Action" button. You can add as many as you want and they'll be placed 2 in a row.
245-
- `disableNotification()`: Send the message silently. Users will receive a notification with no sound.
245+
- `disableNotification($disableNotification = true)`: (bool) Send the message silently. Users will receive a notification with no sound.
246246
- `options([])`: (array) Allows you to add additional or override the payload.
247247

248248
## Alternatives

0 commit comments

Comments
 (0)