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
@@ -220,13 +220,13 @@ public function routeNotificationForTelegram()
220
220
-`to($chatId)`: (integer) Recipient's chat id.
221
221
-`content('')`: (string) File caption, supports markdown. For more information on supported markdown styles, check out these [docs](https://telegram-bot-sdk.readme.io/reference#section-formatting-options).
222
222
-`file($file, $type, $filename = null)`: Local file path or remote URL, `$type` of the file (Ex:`photo`, `audio`, `document`, `video`, `animation`, `voice`, `video_note_`) and optionally filename with extension. Ex: `sample.pdf`. You can use helper methods instead of using this to make it easier to work with file attachment.
223
-
-`photo($file, $filename = null)`: Helper method to attach a photo.
224
-
-`audio($file, $filename = null)`: Helper method to attach an audio file (MP3 file).
223
+
-`photo($file)`: Helper method to attach a photo.
224
+
-`audio($file)`: Helper method to attach an audio file (MP3 file).
225
225
-`document($file, $filename = null)`: Helper method to attach a document or any file as document.
226
-
-`video($file, $filename = null)`: Helper method to attach a video file.
227
-
-`animation($file, $filename = null)`: Helper method to attach an animated gif file.
228
-
-`voice($file, $filename = null)`: Helper method to attach a voice note (`.ogg` file with OPUS encoded).
229
-
-`videoNote($file, $filename = null)`: Helper method to attach a video note file (Upto 1 min long, rounded square video).
226
+
-`video($file)`: Helper method to attach a video file.
227
+
-`animation($file)`: Helper method to attach an animated gif file.
228
+
-`voice($file)`: Helper method to attach a voice note (`.ogg` file with OPUS encoded).
229
+
-`videoNote($file)`: Helper method to attach a video note file (Upto 1 min long, rounded square video).
230
230
-`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.
231
231
-`disableNotification()`: Send the message silently. Users will receive a notification with no sound.
232
232
-`options([])`: (array) Allows you to add additional or override the payload.
0 commit comments