From 61d35b8af094a9820fe0f17f6b45e4a9060542a1 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 16 Aug 2022 08:30:03 +0000 Subject: [PATCH] Update content of files --- .../corefork.telegram.org/api/premium.html | 31 ++----------------- .../method/auth.acceptLoginToken | 5 +++ .../method/bots.setBotGroupDefaultAdminRights | 2 +- .../method/bots.setBotMenuButton | 17 ++++++++++ .../method/channels.joinChannel | 5 --- .../method/messages.getStickerSet | 2 +- .../method/messages.sendMessage | 6 ++-- .../method/messages.setInlineBotResults | 2 +- .../method/phone.createGroupCall | 2 +- .../method/phone.joinGroupCall | 5 --- .../method/upload.getFile | 5 --- 11 files changed, 33 insertions(+), 49 deletions(-) diff --git a/data/web/corefork.telegram.org/api/premium.html b/data/web/corefork.telegram.org/api/premium.html index f9124e9b0c..b5f33ab38f 100644 --- a/data/web/corefork.telegram.org/api/premium.html +++ b/data/web/corefork.telegram.org/api/premium.html @@ -4,22 +4,10 @@ Premium - + - + @@ -56,20 +44,7 @@ unique_reactions…">
-

Premium feature identifiers

-
+

Premium feature identifiers

diff --git a/data/web/corefork.telegram.org/method/auth.acceptLoginToken b/data/web/corefork.telegram.org/method/auth.acceptLoginToken index 7c7b559952..efea3570ac 100644 --- a/data/web/corefork.telegram.org/method/auth.acceptLoginToken +++ b/data/web/corefork.telegram.org/method/auth.acceptLoginToken @@ -96,6 +96,11 @@ 400 +AUTH_TOKEN_EXCEPTION +An error occurred while importing the auth token. + + +400 AUTH_TOKEN_EXPIRED The authorization token has expired. diff --git a/data/web/corefork.telegram.org/method/bots.setBotGroupDefaultAdminRights b/data/web/corefork.telegram.org/method/bots.setBotGroupDefaultAdminRights index c0da745144..11f33016db 100644 --- a/data/web/corefork.telegram.org/method/bots.setBotGroupDefaultAdminRights +++ b/data/web/corefork.telegram.org/method/bots.setBotGroupDefaultAdminRights @@ -91,7 +91,7 @@ 400 RIGHTS_NOT_MODIFIED -  +The new admin rights are equal to the old rights, no change was made. diff --git a/data/web/corefork.telegram.org/method/bots.setBotMenuButton b/data/web/corefork.telegram.org/method/bots.setBotMenuButton index bb35954178..fe2e77e9e2 100644 --- a/data/web/corefork.telegram.org/method/bots.setBotMenuButton +++ b/data/web/corefork.telegram.org/method/bots.setBotMenuButton @@ -83,6 +83,23 @@

Result

Bool

+

Possible errors

+ + + + + + + + + + + + + + + +
CodeTypeDescription
400BUTTON_TEXT_INVALIDThe specified button text is invalid.

Bots can use this method

diff --git a/data/web/corefork.telegram.org/method/channels.joinChannel b/data/web/corefork.telegram.org/method/channels.joinChannel index 555572f30a..ab50833fe2 100644 --- a/data/web/corefork.telegram.org/method/channels.joinChannel +++ b/data/web/corefork.telegram.org/method/channels.joinChannel @@ -134,11 +134,6 @@ You have successfully requested to join this chat or channel. -500 -MEMBER_CHAT_ADD_FAILED -  - - 400 MSG_ID_INVALID Invalid message ID provided. diff --git a/data/web/corefork.telegram.org/method/messages.getStickerSet b/data/web/corefork.telegram.org/method/messages.getStickerSet index d48e9f28de..962995e797 100644 --- a/data/web/corefork.telegram.org/method/messages.getStickerSet +++ b/data/web/corefork.telegram.org/method/messages.getStickerSet @@ -96,7 +96,7 @@ 400 EMOTICON_STICKERPACK_MISSING -  +inputStickerSetDice.emoji cannot be empty. 406 diff --git a/data/web/corefork.telegram.org/method/messages.sendMessage b/data/web/corefork.telegram.org/method/messages.sendMessage index 2832b3079f..72d7b29490 100644 --- a/data/web/corefork.telegram.org/method/messages.sendMessage +++ b/data/web/corefork.telegram.org/method/messages.sendMessage @@ -206,7 +206,7 @@ 403 CHAT_GUEST_SEND_FORBIDDEN -  +You join the discussion group before commenting, see here » for more info. 400 @@ -365,7 +365,9 @@

Styled text with message entities

How to create styled text with message entities

Scheduled messages

-

Telegram allows scheduling messages

+

Telegram allows scheduling messages

+

Discussion groups

+

Groups can be associated to a channel as a discussion group, to allow users to discuss about posts.

diff --git a/data/web/corefork.telegram.org/method/messages.setInlineBotResults b/data/web/corefork.telegram.org/method/messages.setInlineBotResults index d6ba79fa92..0514442234 100644 --- a/data/web/corefork.telegram.org/method/messages.setInlineBotResults +++ b/data/web/corefork.telegram.org/method/messages.setInlineBotResults @@ -231,7 +231,7 @@ 400 RESULT_ID_INVALID -  +One of the specified result IDs is invalid. 400 diff --git a/data/web/corefork.telegram.org/method/phone.createGroupCall b/data/web/corefork.telegram.org/method/phone.createGroupCall index 2721098b5d..80b9a83adc 100644 --- a/data/web/corefork.telegram.org/method/phone.createGroupCall +++ b/data/web/corefork.telegram.org/method/phone.createGroupCall @@ -136,7 +136,7 @@ 400 CREATE_CALL_FAILED -  +An error occurred while creating the call. 400 diff --git a/data/web/corefork.telegram.org/method/phone.joinGroupCall b/data/web/corefork.telegram.org/method/phone.joinGroupCall index 0ef96851cd..8114e02b7e 100644 --- a/data/web/corefork.telegram.org/method/phone.joinGroupCall +++ b/data/web/corefork.telegram.org/method/phone.joinGroupCall @@ -129,11 +129,6 @@ The provided JSON data is invalid. -500 -GROUPCALL_ADD_PARTICIPANTS_FAILED -  - - 403 GROUPCALL_FORBIDDEN The group call has already ended. diff --git a/data/web/corefork.telegram.org/method/upload.getFile b/data/web/corefork.telegram.org/method/upload.getFile index b74ed83f30..99f311a95d 100644 --- a/data/web/corefork.telegram.org/method/upload.getFile +++ b/data/web/corefork.telegram.org/method/upload.getFile @@ -159,11 +159,6 @@ Invalid message ID provided. -403 -MTPROTO_CLUSTER_INVALID -  - - 400 OFFSET_INVALID The provided offset is invalid.