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
+29-29
Original file line number
Diff line number
Diff line change
@@ -137,7 +137,7 @@ public function respondSuccess()
137
137
* <td>chat_id</td>
138
138
* <td>Integer</td>
139
139
* <td>Yes</td>
140
-
* <td>Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
140
+
* <td>Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
141
141
* * </tr>
142
142
* <tr>
143
143
* <td>text</td>
@@ -193,13 +193,13 @@ public function sendMessage(array $content)
193
193
* <td>chat_id</td>
194
194
* <td>Integer</td>
195
195
* <td>Yes</td>
196
-
* <td>Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
196
+
* <td>Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
197
197
* </tr>
198
198
* <tr>
199
199
* <td>from_chat_id</td>
200
200
* <td>Integer</td>
201
201
* <td>Yes</td>
202
-
* <td>Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
202
+
* <td>Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
203
203
* </tr>
204
204
* <tr>
205
205
* <td>disable_notification</td>
@@ -237,7 +237,7 @@ public function forwardMessage(array $content)
237
237
* <td>chat_id</td>
238
238
* <td>Integer</td>
239
239
* <td>Yes</td>
240
-
* <td>Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
240
+
* <td>Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
241
241
* </tr>
242
242
* <tr>
243
243
* <td>photo</td>
@@ -294,7 +294,7 @@ public function sendPhoto(array $content)
294
294
* <td>chat_id</td>
295
295
* <td>Integer</td>
296
296
* <td>Yes</td>
297
-
* <td>Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
297
+
* <td>Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
298
298
* </tr>
299
299
* <tr>
300
300
* <td>audio</td>
@@ -362,7 +362,7 @@ public function sendAudio(array $content)
362
362
* <td>chat_id</td>
363
363
* <td>Integer</td>
364
364
* <td>Yes</td>
365
-
* <td>Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
365
+
* <td>Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
366
366
* </tr>
367
367
* <tr>
368
368
* <td>document</td>
@@ -536,7 +536,7 @@ public function sendVideo(array $content)
536
536
* <td>chat_id</td>
537
537
* <td>Integer</td>
538
538
* <td>Yes</td>
539
-
* <td>Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
539
+
* <td>Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
540
540
* </tr>
541
541
* <tr>
542
542
* <td>voice</td>
@@ -598,7 +598,7 @@ public function sendVoice(array $content)
598
598
* <td>chat_id</td>
599
599
* <td>Integer</td>
600
600
* <td>Yes</td>
601
-
* <td>Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
601
+
* <td>Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
602
602
* </tr>
603
603
* <tr>
604
604
* <td>latitude</td>
@@ -654,7 +654,7 @@ public function sendLocation(array $content)
654
654
* <td>chat_id</td>
655
655
* <td>Integer or String</td>
656
656
* <td>Yes</td>
657
-
* <td>Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
657
+
* <td>Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
658
658
* </tr>
659
659
* <tr>
660
660
* <td>latitude</td>
@@ -726,7 +726,7 @@ public function sendVenue(array $content)
726
726
* <td>chat_id</td>
727
727
* <td>Integer or String</td>
728
728
* <td>Yes</td>
729
-
* <td>Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
729
+
* <td>Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
730
730
* </tr>
731
731
* <tr>
732
732
* <td>phone_number</td>
@@ -865,7 +865,7 @@ public function getFile($file_id)
865
865
866
866
/**
867
867
* Use this method to kick a user from a group or a supergroup. In the case of supergroups, the user will not be able to return to the group on their own using invite links, etc., unless <a href="https://core.telegram.org/bots/api#unbanchatmember">unbanned</a> first. The bot must be an administrator in the group for this to work. Returns <em>True</em> on success.<br>
868
-
* Note: This will method only work if the ‘All Members Are Admins’ setting is off in the target group. Otherwise members may only be removed by the group's creator or by the member that added them.<br/>Values inside $content:<br/>
868
+
* Note: This will method only work if the \˜All Members Are Admins\' setting is off in the target group. Otherwise members may only be removed by the group's creator or by the member that added them.<br/>Values inside $content:<br/>
869
869
* <table>
870
870
* <tr>
871
871
* <td><strong>Parameters</strong></td>
@@ -877,7 +877,7 @@ public function getFile($file_id)
877
877
* <td>chat_id</td>
878
878
* <td>Integer or String</td>
879
879
* <td>Yes</td>
880
-
* <td>Unique identifier for the target group or username of the target supergroup (in the format \@supergroupusername)</td>
880
+
* <td>Unique identifier for the target group or username of the target supergroup (in the format \c \@supergroupusername)</td>
881
881
* </tr>
882
882
* <tr>
883
883
* <td>user_id</td>
@@ -909,7 +909,7 @@ public function kickChatMember(array $content)
909
909
* <td>chat_id</td>
910
910
* <td>Integer or String</td>
911
911
* <td>Yes</td>
912
-
* <td>Unique identifier for the target chat or username of the target supergroup or channel (in the format \@channelusername)</td>
912
+
* <td>Unique identifier for the target chat or username of the target supergroup or channel (in the format \c \@channelusername)</td>
913
913
* </tr>
914
914
* </table>
915
915
* \param $content the request parameters as array
@@ -967,7 +967,7 @@ public function unbanChatMember(array $content)
967
967
* <td>chat_id</td>
968
968
* <td>Integer or String</td>
969
969
* <td>Yes</td>
970
-
* <td>Unique identifier for the target chat or username of the target supergroup or channel (in the format \@channelusername)</td>
970
+
* <td>Unique identifier for the target chat or username of the target supergroup or channel (in the format \c \@channelusername)</td>
971
971
* </tr>
972
972
* </table>
973
973
* \param $content the request parameters as array
@@ -991,7 +991,7 @@ public function getChat(array $content)
991
991
* <td>chat_id</td>
992
992
* <td>Integer or String</td>
993
993
* <td>Yes</td>
994
-
* <td>Unique identifier for the target chat or username of the target supergroup or channel (in the format \@channelusername)</td>
994
+
* <td>Unique identifier for the target chat or username of the target supergroup or channel (in the format \c \@channelusername)</td>
995
995
* </tr>
996
996
* </table>
997
997
* \param $content the request parameters as array
@@ -1015,7 +1015,7 @@ public function getChatAdministrators(array $content)
1015
1015
* <td>chat_id</td>
1016
1016
* <td>Integer or String</td>
1017
1017
* <td>Yes</td>
1018
-
* <td>Unique identifier for the target chat or username of the target supergroup or channel (in the format \@channelusername)</td>
1018
+
* <td>Unique identifier for the target chat or username of the target supergroup or channel (in the format \c \@channelusername)</td>
1019
1019
* </tr>
1020
1020
* </table>
1021
1021
* \param $content the request parameters as array
@@ -1039,7 +1039,7 @@ public function getChatMembersCount(array $content)
1039
1039
* <td>chat_id</td>
1040
1040
* <td>Integer or String</td>
1041
1041
* <td>Yes</td>
1042
-
* <td>Unique identifier for the target chat or username of the target supergroup or channel (in the format \@channelusername)</td>
1042
+
* <td>Unique identifier for the target chat or username of the target supergroup or channel (in the format \c \@channelusername)</td>
1043
1043
* </tr>
1044
1044
* <tr>
1045
1045
* <td>user_id</td>
@@ -1229,7 +1229,7 @@ public function answerCallbackQuery(array $content)
1229
1229
* <td>chat_id</td>
1230
1230
* <td>Integer or String</td>
1231
1231
* <td>No</td>
1232
-
* <td>Required if <em>inline_message_id</em> is not specified. Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
1232
+
* <td>Required if <em>inline_message_id</em> is not specified. Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
1233
1233
* </tr>
1234
1234
* <tr>
1235
1235
* <td>message_id</td>
@@ -1289,7 +1289,7 @@ public function editMessageText(array $content)
1289
1289
* <td>chat_id</td>
1290
1290
* <td>Integer or String</td>
1291
1291
* <td>No</td>
1292
-
* <td>Required if <em>inline_message_id</em> is not specified. Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
1292
+
* <td>Required if <em>inline_message_id</em> is not specified. Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
1293
1293
* </tr>
1294
1294
* <tr>
1295
1295
* <td>message_id</td>
@@ -1337,7 +1337,7 @@ public function editMessageCaption(array $content)
1337
1337
* <td>chat_id</td>
1338
1338
* <td>Integer or String</td>
1339
1339
* <td>No</td>
1340
-
* <td>Required if <em>inline_message_id</em> is not specified. Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
1340
+
* <td>Required if <em>inline_message_id</em> is not specified. Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
1341
1341
* </tr>
1342
1342
* <tr>
1343
1343
* <td>message_id</td>
@@ -2065,7 +2065,7 @@ public function answerPreCheckoutQuery(array $content)
2065
2065
* <td>chat_id</td>
2066
2066
* <td>Integer or String</td>
2067
2067
* <td>Yes</td>
2068
-
* <td>Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
2068
+
* <td>Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
2069
2069
* </tr>
2070
2070
* <tr>
2071
2071
* <td>video_note</td>
@@ -2126,7 +2126,7 @@ public function sendVideoNote(array $content)
2126
2126
* <tr>
2127
2127
* <td>chat_id</td>
2128
2128
* <td>Yes</td>
2129
-
* <td>Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
2129
+
* <td>Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
2130
2130
* </tr>
2131
2131
* <tr>
2132
2132
* <td>photo</td>
@@ -2182,7 +2182,7 @@ public function restrictChatMember(array $content)
2182
2182
* <td>chat_id</td>
2183
2183
* <td>Integer or String</td>
2184
2184
* <td>Yes</td>
2185
-
* <td>Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
2185
+
* <td>Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
2186
2186
* </tr>
2187
2187
* <tr>
2188
2188
* <td>user_id</td>
@@ -2262,7 +2262,7 @@ public function promoteChatMember(array $content)
2262
2262
* <td>chat_id</td>
2263
2263
* <td>Integer or String</td>
2264
2264
* <td>Yes</td>
2265
-
* <td>Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
2265
+
* <td>Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
2266
2266
* </tr>
2267
2267
* </table>
2268
2268
* \param $content the request parameters as array
@@ -2288,7 +2288,7 @@ public function exportChatInviteLink(array $content)
2288
2288
* <td>chat_id</td>
2289
2289
* <td>Integer or String</td>
2290
2290
* <td>Yes</td>
2291
-
* <td>Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
2291
+
* <td>Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
2292
2292
* </tr>
2293
2293
* <tr>
2294
2294
* <td>photo</td>
@@ -2320,7 +2320,7 @@ public function setChatPhoto(array $content)
2320
2320
* <td>chat_id</td>
2321
2321
* <td>Integer or String</td>
2322
2322
* <td>Yes</td>
2323
-
* <td>Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
2323
+
* <td>Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
2324
2324
* </tr>
2325
2325
* </table>
2326
2326
* \param $content the request parameters as array
@@ -2346,7 +2346,7 @@ public function deleteChatPhoto(array $content)
2346
2346
* <td>chat_id</td>
2347
2347
* <td>Integer or String</td>
2348
2348
* <td>Yes</td>
2349
-
* <td>Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
2349
+
* <td>Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
2350
2350
* </tr>
2351
2351
* <tr>
2352
2352
* <td>title</td>
@@ -2378,7 +2378,7 @@ public function setChatTitle(array $content)
2378
2378
* <td>chat_id</td>
2379
2379
* <td>Integer or String</td>
2380
2380
* <td>Yes</td>
2381
-
* <td>Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
2381
+
* <td>Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
2382
2382
* </tr>
2383
2383
* <tr>
2384
2384
* <td>description</td>
@@ -2702,7 +2702,7 @@ public function deleteStickerFromSet(array $content)
2702
2702
* <td>chat_id</td>
2703
2703
* <td>Integer or String</td>
2704
2704
* <td>Yes</td>
2705
-
* <td>Unique identifier for the target chat or username of the target channel (in the format \@channelusername)</td>
2705
+
* <td>Unique identifier for the target chat or username of the target channel (in the format \c \@channelusername)</td>
0 commit comments