From d5bc6885e7061ad3d3a4c71c0e36e4e68889b381 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sun, 24 Sep 2023 13:38:50 +0000 Subject: [PATCH] Update content of files --- .../web/corefork.telegram.org/api/config.html | 4 +- .../constructor/stories.userStories | 118 ++++++++++++++++++ .../constructor/userStories.html | 118 ++++++++++++++++++ .../method/channels.getForumTopics | 5 + .../method/channels.joinChannel | 5 + .../method/channels.togglePreHistoryHidden | 5 + .../method/contacts.toggleStoriesHidden | 118 ++++++++++++++++++ .../method/messages.editChatPhoto | 5 + .../method/messages.getChatInviteImporters | 2 +- .../method/messages.requestAppWebView | 4 +- .../method/messages.sendEncryptedService | 5 + .../method/messages.sendMultiMedia | 18 ++- .../method/phone.joinGroupCall | 5 + .../method/stories.getAllReadUserStories | 118 ++++++++++++++++++ .../method/stories.getUserStories | 118 ++++++++++++++++++ .../method/users.getFullUser | 5 + .../method/users.getStoriesMaxIDs | 118 ++++++++++++++++++ .../type/UserStories.html | 118 ++++++++++++++++++ .../type/stories.UserStories | 118 ++++++++++++++++++ 19 files changed, 992 insertions(+), 15 deletions(-) create mode 100644 data/web/corefork.telegram.org/constructor/stories.userStories create mode 100644 data/web/corefork.telegram.org/constructor/userStories.html create mode 100644 data/web/corefork.telegram.org/method/contacts.toggleStoriesHidden create mode 100644 data/web/corefork.telegram.org/method/stories.getAllReadUserStories create mode 100644 data/web/corefork.telegram.org/method/stories.getUserStories create mode 100644 data/web/corefork.telegram.org/method/users.getStoriesMaxIDs create mode 100644 data/web/corefork.telegram.org/type/UserStories.html create mode 100644 data/web/corefork.telegram.org/type/stories.UserStories diff --git a/data/web/corefork.telegram.org/api/config.html b/data/web/corefork.telegram.org/api/config.html index 00fafee8fd..95d7a943a6 100644 --- a/data/web/corefork.telegram.org/api/config.html +++ b/data/web/corefork.telegram.org/api/config.html @@ -466,7 +466,7 @@ A full list of these parameters can be seen in the Channel suggestions
messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector<Chat> users:Vector<User> = messages.ChatFull;
 
-channelFull#f2355507 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true flags2:# can_delete_channel:flags2.0?true antispam:flags2.1?true participants_hidden:flags2.2?true translations_disabled:flags2.3?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector<BotInfo> migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector<string> groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector<long> default_send_as:flags.29?Peer available_reactions:flags.30?ChatReactions = ChatFull;
+channelFull#723027bd flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true flags2:# can_delete_channel:flags2.0?true antispam:flags2.1?true participants_hidden:flags2.2?true translations_disabled:flags2.3?true stories_pinned_available:flags2.5?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector<BotInfo> migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector<string> groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector<long> default_send_as:flags.29?Peer available_reactions:flags.30?ChatReactions stories:flags2.4?PeerStories = ChatFull;
 
 ---functions---
 
@@ -528,7 +528,7 @@ Pass inputPeerEmpty to peerhelp.acceptTermsOfService, providing the termsOfService id JSON object; in case of denial, clients are to delete the account using account.deleteAccount, providing Decline ToS update as deletion reason.  

Example implementation: android (signup), android (after login)

Telegram support info

-
user#8f97c628 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true apply_min_photo:flags.25?true fake:flags.26?true bot_attach_menu:flags.27?true premium:flags.28?true attach_menu_enabled:flags.29?true flags2:# bot_can_edit:flags2.1?true id:long access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?Vector<RestrictionReason> bot_inline_placeholder:flags.19?string lang_code:flags.22?string emoji_status:flags.30?EmojiStatus usernames:flags2.0?Vector<Username> = User;
+
user#abb5f120 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true apply_min_photo:flags.25?true fake:flags.26?true bot_attach_menu:flags.27?true premium:flags.28?true attach_menu_enabled:flags.29?true flags2:# bot_can_edit:flags2.1?true close_friend:flags2.2?true stories_hidden:flags2.3?true stories_unavailable:flags2.4?true id:long access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?Vector<RestrictionReason> bot_inline_placeholder:flags.19?string lang_code:flags.22?string emoji_status:flags.30?EmojiStatus usernames:flags2.0?Vector<Username> stories_max_id:flags2.5?int = User;
 
 help.support#17c6b5f6 phone_number:string user:User = help.Support;
 help.supportName#8c05f1c9 name:string = help.SupportName;
diff --git a/data/web/corefork.telegram.org/constructor/stories.userStories b/data/web/corefork.telegram.org/constructor/stories.userStories
new file mode 100644
index 0000000000..5804e70933
--- /dev/null
+++ b/data/web/corefork.telegram.org/constructor/stories.userStories
@@ -0,0 +1,118 @@
+
+
+  
+    
+    Page not found
+    
+    
+    
+    
+    
+    
+
+
+
+
+    
+    
+    
+    
+  
+  
+    
+ +
+
+
+ +

Page not found

+ +
The page has not been saved
+ +
+ +
+
+ +
+ + + + + + diff --git a/data/web/corefork.telegram.org/constructor/userStories.html b/data/web/corefork.telegram.org/constructor/userStories.html new file mode 100644 index 0000000000..5804e70933 --- /dev/null +++ b/data/web/corefork.telegram.org/constructor/userStories.html @@ -0,0 +1,118 @@ + + + + + Page not found + + + + + + + + + + + + + + + + +
+ +
+
+
+ +

Page not found

+ +
The page has not been saved
+ +
+ +
+
+ +
+ + + + + + diff --git a/data/web/corefork.telegram.org/method/channels.getForumTopics b/data/web/corefork.telegram.org/method/channels.getForumTopics index cf666bc8e8..1a40e589d1 100644 --- a/data/web/corefork.telegram.org/method/channels.getForumTopics +++ b/data/web/corefork.telegram.org/method/channels.getForumTopics @@ -127,6 +127,11 @@ CHANNEL_INVALID The provided channel is invalid. + +400 +CHANNEL_PRIVATE +You haven't joined this channel/supergroup. +

Related pages

diff --git a/data/web/corefork.telegram.org/method/channels.joinChannel b/data/web/corefork.telegram.org/method/channels.joinChannel index 34392389f6..21ca1d511e 100644 --- a/data/web/corefork.telegram.org/method/channels.joinChannel +++ b/data/web/corefork.telegram.org/method/channels.joinChannel @@ -144,6 +144,11 @@ Invalid message ID provided. +-505 +Nothing stored +  + + 400 PEER_ID_INVALID The provided peer id is invalid. diff --git a/data/web/corefork.telegram.org/method/channels.togglePreHistoryHidden b/data/web/corefork.telegram.org/method/channels.togglePreHistoryHidden index 3908127275..bc4f0d060c 100644 --- a/data/web/corefork.telegram.org/method/channels.togglePreHistoryHidden +++ b/data/web/corefork.telegram.org/method/channels.togglePreHistoryHidden @@ -128,6 +128,11 @@ CHAT_NOT_MODIFIED No changes were made to chat information because the new information you passed is identical to the current information. + +400 +FORUM_ENABLED +  + diff --git a/data/web/corefork.telegram.org/method/contacts.toggleStoriesHidden b/data/web/corefork.telegram.org/method/contacts.toggleStoriesHidden new file mode 100644 index 0000000000..45855bd0c0 --- /dev/null +++ b/data/web/corefork.telegram.org/method/contacts.toggleStoriesHidden @@ -0,0 +1,118 @@ + + + + + Page not found + + + + + + + + + + + + + + + + +
+ +
+
+
+ +

Page not found

+ +
The page has not been saved
+ +
+ +
+
+ +
+ + + + + + diff --git a/data/web/corefork.telegram.org/method/messages.editChatPhoto b/data/web/corefork.telegram.org/method/messages.editChatPhoto index 5a38ac5023..b3d3eb929c 100644 --- a/data/web/corefork.telegram.org/method/messages.editChatPhoto +++ b/data/web/corefork.telegram.org/method/messages.editChatPhoto @@ -110,6 +110,11 @@ 400 +IMAGE_PROCESS_FAILED +Failure while processing image. + + +400 PEER_ID_INVALID The provided peer id is invalid. diff --git a/data/web/corefork.telegram.org/method/messages.getChatInviteImporters b/data/web/corefork.telegram.org/method/messages.getChatInviteImporters index 78c9ff1e5f..ca6da4f7eb 100644 --- a/data/web/corefork.telegram.org/method/messages.getChatInviteImporters +++ b/data/web/corefork.telegram.org/method/messages.getChatInviteImporters @@ -101,7 +101,7 @@ offset_user InputUser -User ID for pagination: if set, offset_date must also be set. +User ID for pagination: if set, offset_date must also be set. limit diff --git a/data/web/corefork.telegram.org/method/messages.requestAppWebView b/data/web/corefork.telegram.org/method/messages.requestAppWebView index b06c66bf92..4a42729411 100644 --- a/data/web/corefork.telegram.org/method/messages.requestAppWebView +++ b/data/web/corefork.telegram.org/method/messages.requestAppWebView @@ -113,9 +113,9 @@

Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.

messages.getBotApp

Obtain information about a named bot web app

-

Bot web apps

+

Mini Apps on Telegram

Bots can offer users interactive HTML5 web apps to completely replace any website.

-

Web Apps for Bots

+

Telegram Mini Apps

messages.prolongWebView

Indicate to the server (from the user side) that the user is still using a web app.

If the method returns a QUERY_ID_INVALID error, the webview must be closed.

diff --git a/data/web/corefork.telegram.org/method/messages.sendEncryptedService b/data/web/corefork.telegram.org/method/messages.sendEncryptedService index 19521323bc..6bde35daa2 100644 --- a/data/web/corefork.telegram.org/method/messages.sendEncryptedService +++ b/data/web/corefork.telegram.org/method/messages.sendEncryptedService @@ -100,6 +100,11 @@ 400 +CHAT_ID_INVALID +The provided chat id is invalid. + + +400 DATA_INVALID Encrypted data invalid. diff --git a/data/web/corefork.telegram.org/method/messages.sendMultiMedia b/data/web/corefork.telegram.org/method/messages.sendMultiMedia index 29a10f4194..987a680d84 100644 --- a/data/web/corefork.telegram.org/method/messages.sendMultiMedia +++ b/data/web/corefork.telegram.org/method/messages.sendMultiMedia @@ -110,14 +110,9 @@ The destination chat -reply_to_msg_id -flags.0?int -The message to reply to - - -top_msg_id -flags.9?int -This field must contain the topic ID only when replying to messages in forum topics different from the "General" topic (i.e. reply_to_msg_id is set and reply_to_msg_id != topicID and topicID != 1).
If the replied-to message is deleted before the method finishes execution, the value in this field will be used to send the message to the correct topic, instead of the "General" topic. +reply_to +flags.0?InputReplyTomulti_media @@ -245,6 +240,11 @@ 400 +TOPIC_CLOSED +This topic was closed, you can't send messages to it anymore. + + +400 TOPIC_DELETED The specified topic was deleted. @@ -261,8 +261,6 @@

How to handle message drafts

Stickers

Telegram clients support displaying static and animated stickers.

-

Forums

-

Telegram allows creating forums with multiple distinct topics.

messages.uploadMedia

Upload a file and associate it to a chat (without actually sending it to the chat)

Uploading and Downloading Files

diff --git a/data/web/corefork.telegram.org/method/phone.joinGroupCall b/data/web/corefork.telegram.org/method/phone.joinGroupCall index b30562ce53..f4a6ae9ff9 100644 --- a/data/web/corefork.telegram.org/method/phone.joinGroupCall +++ b/data/web/corefork.telegram.org/method/phone.joinGroupCall @@ -129,6 +129,11 @@ 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/stories.getAllReadUserStories b/data/web/corefork.telegram.org/method/stories.getAllReadUserStories new file mode 100644 index 0000000000..45855bd0c0 --- /dev/null +++ b/data/web/corefork.telegram.org/method/stories.getAllReadUserStories @@ -0,0 +1,118 @@ + + + + + Page not found + + + + + + + + + + + + + + + + +
+ +
+
+
+ +

Page not found

+ +
The page has not been saved
+ +
+ +
+
+ +
+ + + + + + diff --git a/data/web/corefork.telegram.org/method/stories.getUserStories b/data/web/corefork.telegram.org/method/stories.getUserStories new file mode 100644 index 0000000000..45855bd0c0 --- /dev/null +++ b/data/web/corefork.telegram.org/method/stories.getUserStories @@ -0,0 +1,118 @@ + + + + + Page not found + + + + + + + + + + + + + + + + +
+ +
+
+
+ +

Page not found

+ +
The page has not been saved
+ +
+ +
+
+ +
+ + + + + + diff --git a/data/web/corefork.telegram.org/method/users.getFullUser b/data/web/corefork.telegram.org/method/users.getFullUser index 805cde1407..7744a13f16 100644 --- a/data/web/corefork.telegram.org/method/users.getFullUser +++ b/data/web/corefork.telegram.org/method/users.getFullUser @@ -98,6 +98,11 @@ Invalid message ID provided. +-505 +Nothing stored +  + + 400 USERNAME_OCCUPIED The provided username is already occupied. diff --git a/data/web/corefork.telegram.org/method/users.getStoriesMaxIDs b/data/web/corefork.telegram.org/method/users.getStoriesMaxIDs new file mode 100644 index 0000000000..45855bd0c0 --- /dev/null +++ b/data/web/corefork.telegram.org/method/users.getStoriesMaxIDs @@ -0,0 +1,118 @@ + + + + + Page not found + + + + + + + + + + + + + + + + +
+ +
+
+
+ +

Page not found

+ +
The page has not been saved
+ +
+ +
+
+ +
+ + + + + + diff --git a/data/web/corefork.telegram.org/type/UserStories.html b/data/web/corefork.telegram.org/type/UserStories.html new file mode 100644 index 0000000000..5804e70933 --- /dev/null +++ b/data/web/corefork.telegram.org/type/UserStories.html @@ -0,0 +1,118 @@ + + + + + Page not found + + + + + + + + + + + + + + + + +
+ +
+
+
+ +

Page not found

+ +
The page has not been saved
+ +
+ +
+
+ +
+ + + + + + diff --git a/data/web/corefork.telegram.org/type/stories.UserStories b/data/web/corefork.telegram.org/type/stories.UserStories new file mode 100644 index 0000000000..5804e70933 --- /dev/null +++ b/data/web/corefork.telegram.org/type/stories.UserStories @@ -0,0 +1,118 @@ + + + + + Page not found + + + + + + + + + + + + + + + + +
+ +
+
+
+ +

Page not found

+ +
The page has not been saved
+ +
+ +
+
+ +
+ + + + + +