Skip to content

Commit d88397d

Browse files
committed
Fix @ in doc for channel usernames Pt. 2
1 parent c9fd95d commit d88397d

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

Telegram.php

+29-29
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public function respondSuccess()
137137
* <td>chat_id</td>
138138
* <td>Integer</td>
139139
* <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>
141141
* * </tr>
142142
* <tr>
143143
* <td>text</td>
@@ -193,13 +193,13 @@ public function sendMessage(array $content)
193193
* <td>chat_id</td>
194194
* <td>Integer</td>
195195
* <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>
197197
* </tr>
198198
* <tr>
199199
* <td>from_chat_id</td>
200200
* <td>Integer</td>
201201
* <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>
203203
* </tr>
204204
* <tr>
205205
* <td>disable_notification</td>
@@ -237,7 +237,7 @@ public function forwardMessage(array $content)
237237
* <td>chat_id</td>
238238
* <td>Integer</td>
239239
* <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>
241241
* </tr>
242242
* <tr>
243243
* <td>photo</td>
@@ -294,7 +294,7 @@ public function sendPhoto(array $content)
294294
* <td>chat_id</td>
295295
* <td>Integer</td>
296296
* <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>
298298
* </tr>
299299
* <tr>
300300
* <td>audio</td>
@@ -362,7 +362,7 @@ public function sendAudio(array $content)
362362
* <td>chat_id</td>
363363
* <td>Integer</td>
364364
* <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>
366366
* </tr>
367367
* <tr>
368368
* <td>document</td>
@@ -536,7 +536,7 @@ public function sendVideo(array $content)
536536
* <td>chat_id</td>
537537
* <td>Integer</td>
538538
* <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>
540540
* </tr>
541541
* <tr>
542542
* <td>voice</td>
@@ -598,7 +598,7 @@ public function sendVoice(array $content)
598598
* <td>chat_id</td>
599599
* <td>Integer</td>
600600
* <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>
602602
* </tr>
603603
* <tr>
604604
* <td>latitude</td>
@@ -654,7 +654,7 @@ public function sendLocation(array $content)
654654
* <td>chat_id</td>
655655
* <td>Integer or String</td>
656656
* <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>
658658
* </tr>
659659
* <tr>
660660
* <td>latitude</td>
@@ -726,7 +726,7 @@ public function sendVenue(array $content)
726726
* <td>chat_id</td>
727727
* <td>Integer or String</td>
728728
* <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>
730730
* </tr>
731731
* <tr>
732732
* <td>phone_number</td>
@@ -865,7 +865,7 @@ public function getFile($file_id)
865865

866866
/**
867867
* 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&#39;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&#39;s creator or by the member that added them.<br/>Values inside $content:<br/>
869869
* <table>
870870
* <tr>
871871
* <td><strong>Parameters</strong></td>
@@ -877,7 +877,7 @@ public function getFile($file_id)
877877
* <td>chat_id</td>
878878
* <td>Integer or String</td>
879879
* <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>
881881
* </tr>
882882
* <tr>
883883
* <td>user_id</td>
@@ -909,7 +909,7 @@ public function kickChatMember(array $content)
909909
* <td>chat_id</td>
910910
* <td>Integer or String</td>
911911
* <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>
913913
* </tr>
914914
* </table>
915915
* \param $content the request parameters as array
@@ -967,7 +967,7 @@ public function unbanChatMember(array $content)
967967
* <td>chat_id</td>
968968
* <td>Integer or String</td>
969969
* <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>
971971
* </tr>
972972
* </table>
973973
* \param $content the request parameters as array
@@ -991,7 +991,7 @@ public function getChat(array $content)
991991
* <td>chat_id</td>
992992
* <td>Integer or String</td>
993993
* <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>
995995
* </tr>
996996
* </table>
997997
* \param $content the request parameters as array
@@ -1015,7 +1015,7 @@ public function getChatAdministrators(array $content)
10151015
* <td>chat_id</td>
10161016
* <td>Integer or String</td>
10171017
* <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>
10191019
* </tr>
10201020
* </table>
10211021
* \param $content the request parameters as array
@@ -1039,7 +1039,7 @@ public function getChatMembersCount(array $content)
10391039
* <td>chat_id</td>
10401040
* <td>Integer or String</td>
10411041
* <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>
10431043
* </tr>
10441044
* <tr>
10451045
* <td>user_id</td>
@@ -1229,7 +1229,7 @@ public function answerCallbackQuery(array $content)
12291229
* <td>chat_id</td>
12301230
* <td>Integer or String</td>
12311231
* <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>
12331233
* </tr>
12341234
* <tr>
12351235
* <td>message_id</td>
@@ -1289,7 +1289,7 @@ public function editMessageText(array $content)
12891289
* <td>chat_id</td>
12901290
* <td>Integer or String</td>
12911291
* <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>
12931293
* </tr>
12941294
* <tr>
12951295
* <td>message_id</td>
@@ -1337,7 +1337,7 @@ public function editMessageCaption(array $content)
13371337
* <td>chat_id</td>
13381338
* <td>Integer or String</td>
13391339
* <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>
13411341
* </tr>
13421342
* <tr>
13431343
* <td>message_id</td>
@@ -2065,7 +2065,7 @@ public function answerPreCheckoutQuery(array $content)
20652065
* <td>chat_id</td>
20662066
* <td>Integer or String</td>
20672067
* <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>
20692069
* </tr>
20702070
* <tr>
20712071
* <td>video_note</td>
@@ -2126,7 +2126,7 @@ public function sendVideoNote(array $content)
21262126
* <tr>
21272127
* <td>chat_id</td>
21282128
* <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>
21302130
* </tr>
21312131
* <tr>
21322132
* <td>photo</td>
@@ -2182,7 +2182,7 @@ public function restrictChatMember(array $content)
21822182
* <td>chat_id</td>
21832183
* <td>Integer or String</td>
21842184
* <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>
21862186
* </tr>
21872187
* <tr>
21882188
* <td>user_id</td>
@@ -2262,7 +2262,7 @@ public function promoteChatMember(array $content)
22622262
* <td>chat_id</td>
22632263
* <td>Integer or String</td>
22642264
* <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>
22662266
* </tr>
22672267
* </table>
22682268
* \param $content the request parameters as array
@@ -2288,7 +2288,7 @@ public function exportChatInviteLink(array $content)
22882288
* <td>chat_id</td>
22892289
* <td>Integer or String</td>
22902290
* <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>
22922292
* </tr>
22932293
* <tr>
22942294
* <td>photo</td>
@@ -2320,7 +2320,7 @@ public function setChatPhoto(array $content)
23202320
* <td>chat_id</td>
23212321
* <td>Integer or String</td>
23222322
* <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>
23242324
* </tr>
23252325
* </table>
23262326
* \param $content the request parameters as array
@@ -2346,7 +2346,7 @@ public function deleteChatPhoto(array $content)
23462346
* <td>chat_id</td>
23472347
* <td>Integer or String</td>
23482348
* <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>
23502350
* </tr>
23512351
* <tr>
23522352
* <td>title</td>
@@ -2378,7 +2378,7 @@ public function setChatTitle(array $content)
23782378
* <td>chat_id</td>
23792379
* <td>Integer or String</td>
23802380
* <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>
23822382
* </tr>
23832383
* <tr>
23842384
* <td>description</td>
@@ -2702,7 +2702,7 @@ public function deleteStickerFromSet(array $content)
27022702
* <td>chat_id</td>
27032703
* <td>Integer or String</td>
27042704
* <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>
27062706
* </tr>
27072707
* <tr>
27082708
* <td>message_id</td>

0 commit comments

Comments
 (0)