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
Copy file name to clipboardExpand all lines: Telegram.php
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -266,7 +266,7 @@ public function sendPhoto(array $content)
266
266
267
267
/**
268
268
* Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .mp3 format. On success, the sent Message is returned. Bots can currently send audio files of up to 50 MB in size, this limit may be changed in the future.
269
-
269
+
*
270
270
* For backward compatibility, when the fields title and performer are both empty and the mime-type of the file to be sent is not audio/mpeg, the file will be sent as a playable voice message. For this to work, the audio must be in an .ogg file encoded with OPUS. This behavior will be phased out in the future. For sending voice messages, use the sendVoice method instead.<br/>Values inside $content:<br/>
271
271
* <table>
272
272
* <tr>
@@ -708,9 +708,9 @@ public function sendContact(array $content)
708
708
709
709
/**
710
710
* Use this method when you need to tell the user that something is happening on the bot's side. The status is set for 5 seconds or less (when a message arrives from your bot, Telegram clients clear its typing status).
711
-
711
+
*
712
712
* Example: The ImageBot needs some time to process a request and upload the image. Instead of sending a text message along the lines of “Retrieving image, please wait…”, the bot may use sendChatAction with action = upload_photo. The user will see a “sending photo” status for the bot.
713
-
713
+
*
714
714
* We only recommend using this method when a response from the bot will take a noticeable amount of time to arrive.<br/>Values inside $content:<br/>
715
715
* <table>
716
716
* <tr>
@@ -1322,7 +1322,7 @@ public function downloadFile($telegram_file_path, $local_file_path)
1322
1322
1323
1323
/**
1324
1324
* Use this method to specify a url and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified url, containing a JSON-serialized Update. In case of an unsuccessful request, we will give up after a reasonable amount of attempts.
1325
-
1325
+
*
1326
1326
* If you'd like to make sure that the Webhook request comes from Telegram, we recommend using a secret path in the URL, e.g. https://www.example.com/<token>. Since nobody else knows your bot‘s token, you can be pretty sure it’s us.
1327
1327
* \param $url String HTTPS url to send updates to. Use an empty string to remove webhook integration
1328
1328
* \param $certificate InputFile Upload your public key certificate so that the root certificate in use can be checked
0 commit comments