From 2f90c1aa95c3eb8e936d185cf8bb4e17c84ce52f Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 24 Apr 2023 15:28:43 +0000 Subject: [PATCH] Update content of files --- .../api/bots/attach.html | 2 +- .../corefork.telegram.org/api/bots/menu.html | 2 +- .../api/emoji-status.html | 2 +- .../corefork.telegram.org/api/fragment.html | 2 +- .../corefork.telegram.org/api/invites.html | 2 +- .../web/corefork.telegram.org/api/layers.html | 101 ++++++++++++++++++ .../corefork.telegram.org/api/premium.html | 6 +- .../api/translation.html | 2 +- .../corefork.telegram.org/api/wallpapers.html | 2 +- data/web/corefork.telegram.org/bots.html | 59 +++++----- .../corefork.telegram.org/bots/webapps.html | 2 +- .../constructor/auth.sentCodeTypeEmailCode | 11 +- .../constructor/bots.botInfo | 83 ++++++++++++-- ...LogEventActionParticipantJoinByInvite.html | 10 ++ .../constructor/chatInviteImporter.html | 5 + .../constructor/chatlists.chatlistInvite | 96 +++++++++++++++-- .../chatlists.chatlistInviteAlready | 93 ++++++++++++++-- .../constructor/chatlists.chatlistUpdates | 83 ++++++++++++-- .../chatlists.exportedChatlistInvite | 72 +++++++++++-- .../constructor/chatlists.exportedInvites | 81 ++++++++++++-- .../constructor/dialogFilterChatlist.html | 101 ++++++++++++++++-- .../constructor/exportedChatlistInvite.html | 88 +++++++++++++-- .../constructor/inlineQueryPeerTypeBotPM.html | 36 +++++-- .../inputChatlistDialogFilter.html | 61 +++++++++-- .../keyboardButtonSwitchInline.html | 9 +- .../constructor/messageActionGiftPremium.html | 15 +++ .../messageActionSetChatWallPaper.html | 61 +++++++++-- .../messageActionSetSameChatWallPaper.html | 61 +++++++++-- .../constructor/updateChannelParticipant.html | 5 + .../constructor/user.html | 5 + .../constructor/userFull.html | 5 + .../method/account.uploadWallPaper | 10 ++ .../method/auth.resetLoginEmail | 78 ++++++++++++-- .../method/bots.getBotInfo | 12 ++- .../method/bots.reorderUsernames | 78 ++++++++++++-- .../method/bots.setBotInfo | 10 ++ .../method/bots.toggleUsername | 89 +++++++++++++-- .../method/channels.deleteHistory | 2 +- .../method/chatlists.checkChatlistInvite | 67 ++++++++++-- .../method/chatlists.deleteExportedInvite | 78 ++++++++++++-- .../method/chatlists.editExportedInvite | 94 ++++++++++++++-- .../method/chatlists.exportChatlistInvite | 86 +++++++++++++-- .../method/chatlists.getChatlistUpdates | 66 ++++++++++-- .../method/chatlists.getExportedInvites | 66 ++++++++++-- .../chatlists.getLeaveChatlistSuggestions | 65 +++++++++-- .../method/chatlists.hideChatlistUpdates | 67 ++++++++++-- .../method/chatlists.joinChatlistInvite | 83 ++++++++++++-- .../method/chatlists.joinChatlistUpdates | 83 ++++++++++++-- .../method/chatlists.leaveChatlist | 83 ++++++++++++-- .../method/folders.deleteFolder | 2 +- .../method/messages.sendVote | 5 + .../method/messages.setChatWallPaper | 96 +++++++++++++++-- .../method/photos.updateProfilePhoto | 5 + .../method/photos.uploadProfilePhoto | 5 + .../mtproto/mtproto-transports.html | 2 +- data/web/corefork.telegram.org/type/Bool.html | 16 +++ .../type/DialogFilter.html | 4 + .../type/ExportedChatlistInvite.html | 78 ++++++++++++-- .../type/InlineQueryPeerType.html | 4 + .../type/InputChatlist.html | 49 +++++++-- .../type/MessageAction.html | 8 ++ .../corefork.telegram.org/type/Updates.html | 20 +++- .../corefork.telegram.org/type/auth.SentCode | 4 + .../corefork.telegram.org/type/bots.BotInfo | 78 ++++++++++++-- .../type/chatlists.ChatlistInvite | 83 ++++++++++++-- .../type/chatlists.ChatlistUpdates | 76 +++++++++++-- .../type/chatlists.ExportedChatlistInvite | 76 +++++++++++-- .../type/chatlists.ExportedInvites | 76 +++++++++++-- 68 files changed, 2672 insertions(+), 295 deletions(-) diff --git a/data/web/corefork.telegram.org/api/bots/attach.html b/data/web/corefork.telegram.org/api/bots/attach.html index 286efd5adc..c62839b6cb 100644 --- a/data/web/corefork.telegram.org/api/bots/attach.html +++ b/data/web/corefork.telegram.org/api/bots/attach.html @@ -46,7 +46,7 @@

Bots can install attachment menu entries, offering conveniently accessible, versatile web apps.

Schema:

-
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:# 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#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;
 
 attachMenuBotsBot#93bf667f bot:AttachMenuBot users:Vector<User> = AttachMenuBotsBot;
 
diff --git a/data/web/corefork.telegram.org/api/bots/menu.html b/data/web/corefork.telegram.org/api/bots/menu.html
index c0e83dd60a..8731bec080 100644
--- a/data/web/corefork.telegram.org/api/bots/menu.html
+++ b/data/web/corefork.telegram.org/api/bots/menu.html
@@ -125,7 +125,7 @@
 
 botInfo#8f300b57 flags:# user_id:flags.0?long description:flags.1?string description_photo:flags.4?Photo description_document:flags.5?Document commands:flags.2?Vector<BotCommand> menu_button:flags.3?BotMenuButton = BotInfo;
 
-userFull#f8d32aed flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector<PremiumGiftOption> = UserFull;
+userFull#93eadb53 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector<PremiumGiftOption> wallpaper:flags.24?WallPaper = UserFull;
 
 ---functions---
 
diff --git a/data/web/corefork.telegram.org/api/emoji-status.html b/data/web/corefork.telegram.org/api/emoji-status.html
index bd49c12dd5..fec8b255c0 100644
--- a/data/web/corefork.telegram.org/api/emoji-status.html
+++ b/data/web/corefork.telegram.org/api/emoji-status.html
@@ -50,7 +50,7 @@
 emojiStatus#929b619d document_id:long = EmojiStatus;
 emojiStatusUntil#fa30a8c7 document_id:long until:int = EmojiStatus;
 
-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:# 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#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;
 
 updateUserEmojiStatus#28373599 user_id:long emoji_status:EmojiStatus = Update;
 
diff --git a/data/web/corefork.telegram.org/api/fragment.html b/data/web/corefork.telegram.org/api/fragment.html
index 338ce32d59..e4f669a71b 100644
--- a/data/web/corefork.telegram.org/api/fragment.html
+++ b/data/web/corefork.telegram.org/api/fragment.html
@@ -50,7 +50,7 @@
 
 updateUserName#a7848924 user_id:long first_name:string last_name:string usernames:Vector<Username> = Update;
 
-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:# 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#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;
 
 channel#83259464 flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true flags2:# id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector<RestrictionReason> admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int usernames:flags2.0?Vector<Username> = Chat;
 
diff --git a/data/web/corefork.telegram.org/api/invites.html b/data/web/corefork.telegram.org/api/invites.html
index a02c40d330..1c289d8b99 100644
--- a/data/web/corefork.telegram.org/api/invites.html
+++ b/data/web/corefork.telegram.org/api/invites.html
@@ -68,7 +68,7 @@ You can use channels.checkUsername
 messages.exportedChatInviteReplaced#222600ef invite:ExportedChatInvite new_invite:ExportedChatInvite users:Vector<User> = messages.ExportedChatInvite;
 
 
-chatInviteImporter#8c5adfd9 flags:# requested:flags.0?true user_id:long date:int about:flags.2?string approved_by:flags.1?long = ChatInviteImporter;
+chatInviteImporter#8c5adfd9 flags:# requested:flags.0?true via_chatlist:flags.3?true user_id:long date:int about:flags.2?string approved_by:flags.1?long = ChatInviteImporter;
 
 messages.chatInviteImporters#81b6b00a count:int importers:Vector<ChatInviteImporter> users:Vector<User> = messages.ChatInviteImporters;
 
diff --git a/data/web/corefork.telegram.org/api/layers.html b/data/web/corefork.telegram.org/api/layers.html
index fe1020209a..00c9f2a3c7 100644
--- a/data/web/corefork.telegram.org/api/layers.html
+++ b/data/web/corefork.telegram.org/api/layers.html
@@ -45,6 +45,107 @@
   

Below you will find information on schema changes. For more details on the use of layers, see Invoking API methods.

+

Layer 158

+

Schema changes

+
New Methods
+ +
Changed Methods
+ +
Deleted Methods
+
    +
  • Removed folders.deleteFolder
  • +
+
New Constructors
+ +
Changed Constructors
+ +

Schema

+
userFull#93eadb53 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector<PremiumGiftOption> wallpaper:flags.24?WallPaper = UserFull;
+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;
+keyboardButtonSwitchInline#93b9fbb5 flags:# same_peer:flags.0?true text:string query:string peer_types:flags.1?Vector<InlineQueryPeerType> = KeyboardButton;
+updateChannelParticipant#985d3abb flags:# via_chatlist:flags.3?true channel_id:long date:int actor_id:long user_id:long prev_participant:flags.0?ChannelParticipant new_participant:flags.1?ChannelParticipant invite:flags.2?ExportedChatInvite qts:int = Update;
+chatInviteImporter#8c5adfd9 flags:# requested:flags.0?true via_chatlist:flags.3?true user_id:long date:int about:flags.2?string approved_by:flags.1?long = ChatInviteImporter; +channelAdminLogEventActionParticipantJoinByInvite#fe9fc158 flags:# via_chatlist:flags.0?true invite:ExportedChatInvite = ChannelAdminLogEventAction;
+messageActionGiftPremium#c83d6aec flags:# currency:string amount:long months:int crypto_currency:flags.0?string crypto_amount:flags.0?long = MessageAction;
+auth.sentCodeTypeEmailCode#f450f59b flags:# apple_signin_allowed:flags.0?true google_signin_allowed:flags.1?true email_pattern:string length:int reset_available_period:flags.3?int reset_pending_date:flags.4?int = auth.SentCodeType;
+dialogFilterChatlist#d64a04a8 flags:# has_my_invites:flags.26?true id:int title:string emoticon:flags.25?string pinned_peers:Vector<InputPeer> include_peers:Vector<InputPeer> = DialogFilter;
+inputChatlistDialogFilter#f3e0da33 filter_id:int = InputChatlist;
+exportedChatlistInvite#0c5181ac flags:# title:string url:string peers:Vector<Peer> = ExportedChatlistInvite;
+chatlists.exportedChatlistInvite#10e6e3a6 filter:DialogFilter invite:ExportedChatlistInvite = chatlists.ExportedChatlistInvite; +chatlists.exportedInvites#10ab6dc7 invites:Vector<ExportedChatlistInvite> chats:Vector<Chat> users:Vector<User> = chatlists.ExportedInvites; +chatlists.chatlistInviteAlready#fa87f659 filter_id:int missing_peers:Vector<Peer> already_peers:Vector<Peer> chats:Vector<Chat> users:Vector<User> = chatlists.ChatlistInvite; +chatlists.chatlistInvite#1dcd839d flags:# title:string emoticon:flags.0?string peers:Vector<Peer> chats:Vector<Chat> users:Vector<User> = chatlists.ChatlistInvite; +chatlists.chatlistUpdates#93bd878d missing_peers:Vector<Peer> chats:Vector<Chat> users:Vector<User> = chatlists.ChatlistUpdates;
+messageActionSetChatWallPaper#bc44a927 wallpaper:WallPaper = MessageAction; +messageActionSetSameChatWallPaper#c0787d6d wallpaper:WallPaper = MessageAction;
+bots.botInfo#e8a775b0 name:string about:string description:string = bots.BotInfo;
+inlineQueryPeerTypeBotPM#0e3b2d0c = InlineQueryPeerType;
+---functions---
+photos.updateProfilePhoto#09e82039 flags:# fallback:flags.0?true bot:flags.1?InputUser id:InputPhoto = photos.Photo; +photos.uploadProfilePhoto#0388a3b5 flags:# fallback:flags.3?true bot:flags.5?InputUser file:flags.0?InputFile video:flags.1?InputFile video_start_ts:flags.2?double video_emoji_markup:flags.4?VideoSize = photos.Photo;
+account.uploadWallPaper#e39a8f03 flags:# for_chat:flags.0?true file:InputFile mime_type:string settings:WallPaperSettings = WallPaper;
+bots.setBotInfo#10cf3123 flags:# bot:flags.2?InputUser lang_code:string name:flags.3?string about:flags.0?string description:flags.1?string = Bool; +bots.getBotInfo#dcd914fd flags:# bot:flags.0?InputUser lang_code:string = bots.BotInfo;
+auth.resetLoginEmail#7e960193 phone_number:string phone_code_hash:string = auth.SentCode;
+chatlists.exportChatlistInvite#8472478e chatlist:InputChatlist title:string peers:Vector<InputPeer> = chatlists.ExportedChatlistInvite; +chatlists.deleteExportedInvite#719c5c5e chatlist:InputChatlist slug:string = Bool; +chatlists.editExportedInvite#653db63d flags:# chatlist:InputChatlist slug:string title:flags.1?string peers:flags.2?Vector<InputPeer> = ExportedChatlistInvite; +chatlists.getExportedInvites#ce03da83 chatlist:InputChatlist = chatlists.ExportedInvites; +chatlists.checkChatlistInvite#41c10fff slug:string = chatlists.ChatlistInvite; +chatlists.joinChatlistInvite#a6b1e39a slug:string peers:Vector<InputPeer> = Updates; +chatlists.getChatlistUpdates#89419521 chatlist:InputChatlist = chatlists.ChatlistUpdates; +chatlists.joinChatlistUpdates#e089f8f5 chatlist:InputChatlist peers:Vector<InputPeer> = Updates; +chatlists.hideChatlistUpdates#66e486fb chatlist:InputChatlist = Bool; +chatlists.getLeaveChatlistSuggestions#fdbcd714 chatlist:InputChatlist = Vector<Peer>; +chatlists.leaveChatlist#74fae13a chatlist:InputChatlist peers:Vector<InputPeer> = Updates;
+bots.reorderUsernames#9709b1c2 bot:InputUser order:Vector<string> = Bool; +bots.toggleUsername#053ca973 bot:InputUser username:string active:Bool = Bool;
+messages.setChatWallPaper#8ffacae1 flags:# peer:InputPeer wallpaper:flags.0?InputWallPaper settings:flags.2?WallPaperSettings id:flags.1?int = Updates;

Layer 155

Reaction dates.

The RPC error database » was also updated.

diff --git a/data/web/corefork.telegram.org/api/premium.html b/data/web/corefork.telegram.org/api/premium.html index f2b906b9c9..295f125878 100644 --- a/data/web/corefork.telegram.org/api/premium.html +++ b/data/web/corefork.telegram.org/api/premium.html @@ -51,7 +51,7 @@

Telegram Premium users

inputUserSelf#f7c1b13f = InputUser;
 
-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:# 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#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;
 
 help.premiumPromo#5334759c status_text:string status_entities:Vector<MessageEntity> video_sections:Vector<string> videos:Vector<Document> period_options:Vector<PremiumSubscriptionOption> users:Vector<User> = help.PremiumPromo;
 
@@ -135,11 +135,11 @@ Then, when the user clicks on the subscribe button in the sent invoice, follow t
 
 

There is also a store-based subscription flow based on payments.assignAppStoreTransaction/payments.assignPlayMarketTransaction, but it's currently not available to third-party apps (unlike the flow described above, which can be used by all clients).

Gifting Telegram Premium

-
userFull#f8d32aed flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector<PremiumGiftOption> = UserFull;
+
userFull#93eadb53 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector<PremiumGiftOption> wallpaper:flags.24?WallPaper = UserFull;
 
 premiumGiftOption#74c34319 flags:# months:int currency:string amount:long bot_url:string store_product:flags.0?string = PremiumGiftOption;
 
-messageActionGiftPremium#aba0f5c6 currency:string amount:long months:int = MessageAction;
+messageActionGiftPremium#c83d6aec flags:# currency:string amount:long months:int crypto_currency:flags.0?string crypto_amount:flags.0?long = MessageAction;
 
 inputStickerSetPremiumGifts#c88b3b02 = InputStickerSet;
 
diff --git a/data/web/corefork.telegram.org/api/translation.html b/data/web/corefork.telegram.org/api/translation.html
index 7f96da148b..d6f18cd638 100644
--- a/data/web/corefork.telegram.org/api/translation.html
+++ b/data/web/corefork.telegram.org/api/translation.html
@@ -56,7 +56,7 @@
 

messages.translateText can be used to translate a list of chat messages (by populating the peer and id flags), or a generic list of messages (by populating the text flag, for example when translating instant view articles).

The method will return a vector of textWithEntities constructors, containing the translated text, and, only for Telegram Premium users, the corresponding styled text entities (i.e. correctly repositioned bold, italic, link entities for the translated message, corresponding to the same entities in the original message).

Real-time translation

-
userFull#f8d32aed flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector<PremiumGiftOption> = UserFull;
+
userFull#93eadb53 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector<PremiumGiftOption> wallpaper:flags.24?WallPaper = UserFull;
 
 chatFull#c9d31138 flags:# can_set_username:flags.7?true has_scheduled:flags.8?true translations_disabled:flags.19?true id:long about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:flags.13?ExportedChatInvite bot_info:flags.3?Vector<BotInfo> pinned_msg_id:flags.6?int folder_id:flags.11?int call:flags.12?InputGroupCall ttl_period:flags.14?int groupcall_default_join_as:flags.15?Peer theme_emoticon:flags.16?string requests_pending:flags.17?int recent_requesters:flags.17?Vector<long> available_reactions:flags.18?ChatReactions = ChatFull;
 
diff --git a/data/web/corefork.telegram.org/api/wallpapers.html b/data/web/corefork.telegram.org/api/wallpapers.html
index d9235ddcd7..ab99162126 100644
--- a/data/web/corefork.telegram.org/api/wallpapers.html
+++ b/data/web/corefork.telegram.org/api/wallpapers.html
@@ -108,7 +108,7 @@ If set, rotation indicates clockwise rotation angle of the gradient
 
 ---functions---
 
-account.uploadWallPaper#dd853661 file:InputFile mime_type:string settings:WallPaperSettings = WallPaper;
+account.uploadWallPaper#e39a8f03 flags:# for_chat:flags.0?true file:InputFile mime_type:string settings:WallPaperSettings = WallPaper;

account.uploadWallPaper is used to upload image and pattern wallpapers.
Fill wallpapers don't require uploading since they have no associated file, and a wallPaper constructor can directly be generated client-side, specifying id=0.

Wallpapers can then be shared using a wallpaper deep link », and/or installed as specified here (image and pattern wallpapers only) ».

diff --git a/data/web/corefork.telegram.org/bots.html b/data/web/corefork.telegram.org/bots.html index 65a657a326..c1335b5806 100644 --- a/data/web/corefork.telegram.org/bots.html +++ b/data/web/corefork.telegram.org/bots.html @@ -50,7 +50,7 @@
  • Full API Reference for Developers
  • The Telegram Bot Platform hosts more than 10 million bots and is free for both users and developers.

    -

    What Can You Do with Bots?

    +

    What Can You Do with Bots?

    -

    Replace Entire Websites

    +

    Replace Entire Websites

    Telegram bots can host full Web Apps built with JavaScript. This allows for infinitely flexible interfaces that can power everything from online stores to arcade games. Unlike websites, bots support seamless authorization and notifications through Telegram out of the box.

    +
    -
    -

    Try @DurgerKingBot – or check out the dedicated guide to Web Apps to build your own.

    +

    Try @DurgerKingBot – or check out the dedicated guide to Web Apps to build your own.

    -

    Receive Payments

    +

    Receive Payments

    Bots can receive payments from more than 200 countries through more than 20 integrated payment providers (which include support for Apple Pay and Google Pay). These payments are securely processed by the providers and Telegram takes no commission.

    +
    -

    Try @ShopBot – or check out the Bot Payments Manual to build your own.

    -

    Create Custom Tools

    +

    Create Custom Tools

    Increase your productivity by creating bots for specific tasks – like converting files, managing chats or fetching today’s forecast. Users can chat directly with bots, or add them to groups and channels to introduce extra features.

    +
    -

    Try @QuizBot to combine several quiz-style polls into a proper quiz.

    -

    Integrate with Other Services

    -

    Many popular platforms already have official Telegram bots, which allow users to comfortably access content in one app – or perform quick searches using inline mode.

    +

    Integrate with Other Services

    +

    Many popular platforms already have official Telegram bots, which allow users to comfortably access content in one app – or perform quick searches using inline mode.

    - +
    -

    Try @GMailBot, @GitHubBot, @Bing, @YouTube, @wiki and more.

    -

    Host Games

    +

    Host Games

    Using HTML5, developers can create immersive single or multi-player games that allow users to team up or compete for the highest score.

    +
    -
    -

    Try @Gamee and @GameBot – or check out the HTML5 Games Manual to build your own.

    +

    Try @Gamee and @GameBot – or check out the HTML5 Games Manual to build your own.

    -

    Build Social Networks

    +

    Build Social Networks

    Bots can serve as an intermediary to connect users based on shared interests, location, and more. Coordinate meetups, show local services, or help people sell second-hand items.

    +
    - -

    Anything Else

    +

    Anything Else

    The possibilities for bots are endless – from simple scripts to complex web apps. Whether you’re a beginner or professional programmer, you can create personalized tools with the help of the Bot Platform.


    -

    How Do Bots Work?

    +

    How Do Bots Work?

    For a detailed explanation of Bot Features, see this guide

    Telegram bots are special accounts that do not need a phone number to set up. Bots are connected to their owner’s server, which processes inputs and requests from users.

    Telegram’s intermediary server handles all encryption and communication with the Telegram API. Developers communicate with this server via an easy HTTPS-interface with a simplified version of the Telegram API – known as the Bot API.

    -

    How Are Bots Different from Users?

    +

    How Are Bots Different from Users?

    Bots are able to process inputs and requests in ways that user accounts can’t, but there are several differences between a bot and a normal user.

    • Bots don’t have ‘last seen’ or online statuses – instead they show a ‘bot’ label in the chat.
    • Bots have limited cloud storage – older messages may be removed by the server shortly after they have been processed.
    • -
    • Bots can't start conversations with users. A user must either add them to a group or send them a message first. People can search for your bot’s username or start a chat via its unique t.me/bot_username link.
    • +
    • Bots can't start conversations with users. A user must either add them to a group or send them a message first. People can search for your bot’s username or start a chat via its unique t.me/bot_username link.
    • By default, bots added to groups only see relevant messages in the chat (see Privacy Mode).
    • Bots never eat, sleep or complain (unless expressly programmed otherwise).
    -

    Bot Links

    +

    Bot Links

    Bot usernames normally require a ‘bot’ suffix, but some bots don’t have them – such as @stickers, @gif, @wiki or @bing.

    -

    Anyone can assign collectible usernames to bots, including those without the 'bot' suffix.

    -

    How Do I Create a Bot?

    +

    Anyone can assign collectible usernames to bots, including those without the 'bot' suffix.

    +

    How Do I Create a Bot?

    Creating Telegram bots is super-easy, but you will need at least some skills in computer programming.

    Creating a bot is streamlined by Telegram’s Bot API, which gives the tools and framework required to integrate your code. To get started, message @BotFather on Telegram to register your bot and receive its authentication token.

    Your bot token is its unique identifier – store it in a secure place, and only share it with people who need direct access to the bot. Everyone who has your token will have full control over your bot.

    -

    What Next?

    +

    What Next?

    We recommend that you check out our guide to Bot Features to see what you can teach your bot to do:

    -
    + diff --git a/data/web/corefork.telegram.org/bots/webapps.html b/data/web/corefork.telegram.org/bots/webapps.html index c66e1e26b9..4dc55fe5da 100644 --- a/data/web/corefork.telegram.org/bots/webapps.html +++ b/data/web/corefork.telegram.org/bots/webapps.html @@ -794,7 +794,7 @@
    data_check_string = ...
     secret_key = HMAC_SHA256(;, "WebAppData")
     if (hex(HMAC_SHA256(data_check_string, secret_key)) == hash) {
    -  // data is from Telegram
    +    // data is from Telegram
     }

    To prevent the use of outdated data, you can additionally check the auth_date field, which contains a Unix timestamp of when it was received by the Web App.

    Once validated, the data may be used on your server. Complex data types are represented as JSON-serialized objects.

    diff --git a/data/web/corefork.telegram.org/constructor/auth.sentCodeTypeEmailCode b/data/web/corefork.telegram.org/constructor/auth.sentCodeTypeEmailCode index 9f9d17dd63..c00b567187 100644 --- a/data/web/corefork.telegram.org/constructor/auth.sentCodeTypeEmailCode +++ b/data/web/corefork.telegram.org/constructor/auth.sentCodeTypeEmailCode @@ -92,9 +92,14 @@ Length of the sent verification code -next_phone_login_date -
    flags.2?int -If set, contains an absolute UNIX timestamp indicating when will the user be able to authorize with a code sent to the user's phone number +reset_available_period +flags.3?int +  + + +reset_pending_date +flags.4?int +  diff --git a/data/web/corefork.telegram.org/constructor/bots.botInfo b/data/web/corefork.telegram.org/constructor/bots.botInfo index 5804e70933..98c002a0d1 100644 --- a/data/web/corefork.telegram.org/constructor/bots.botInfo +++ b/data/web/corefork.telegram.org/constructor/bots.botInfo @@ -2,12 +2,40 @@ - Page not found + bots.botInfo - - + + - + @@ -39,10 +67,51 @@
    - -

    Page not found

    + +

    bots.botInfo

    -
    The page has not been saved
    +

    + +
    +
    bots.botInfo#e8a775b0 name:string about:string description:string = bots.BotInfo;

    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    namestring 
    aboutstring 
    descriptionstring 
    +

    Type

    +

    bots.BotInfo

    diff --git a/data/web/corefork.telegram.org/constructor/channelAdminLogEventActionParticipantJoinByInvite.html b/data/web/corefork.telegram.org/constructor/channelAdminLogEventActionParticipantJoinByInvite.html index f46e50ba9d..cdc1c8cd2f 100644 --- a/data/web/corefork.telegram.org/constructor/channelAdminLogEventActionParticipantJoinByInvite.html +++ b/data/web/corefork.telegram.org/constructor/channelAdminLogEventActionParticipantJoinByInvite.html @@ -67,6 +67,16 @@ +flags +# +Flags, see TL conditional fields + + +via_chatlist +flags.0?true +  + + invite ExportedChatInvite The invite link used to join the supergroup/channel diff --git a/data/web/corefork.telegram.org/constructor/chatInviteImporter.html b/data/web/corefork.telegram.org/constructor/chatInviteImporter.html index cf86b57d99..4823bf2c60 100644 --- a/data/web/corefork.telegram.org/constructor/chatInviteImporter.html +++ b/data/web/corefork.telegram.org/constructor/chatInviteImporter.html @@ -77,6 +77,11 @@ Whether this user currently has a pending join request » +via_chatlist +flags.3?true +  + + user_id long The user diff --git a/data/web/corefork.telegram.org/constructor/chatlists.chatlistInvite b/data/web/corefork.telegram.org/constructor/chatlists.chatlistInvite index 5804e70933..4899aa9850 100644 --- a/data/web/corefork.telegram.org/constructor/chatlists.chatlistInvite +++ b/data/web/corefork.telegram.org/constructor/chatlists.chatlistInvite @@ -2,12 +2,38 @@ - Page not found + chatlists.chatlistInvite - - + + - + @@ -39,10 +65,66 @@
    - -

    Page not found

    + +

    chatlists.chatlistInvite

    -
    The page has not been saved
    +

    + +
    +
    chatlists.chatlistInvite#1dcd839d flags:# title:string emoticon:flags.0?string peers:Vector<Peer> chats:Vector<Chat> users:Vector<User> = chatlists.ChatlistInvite;

    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    flags#Flags, see TL conditional fields
    titlestring 
    emoticonflags.0?string 
    peersVector<Peer> 
    chatsVector<Chat> 
    usersVector<User> 
    +

    Type

    +

    chatlists.ChatlistInvite

    diff --git a/data/web/corefork.telegram.org/constructor/chatlists.chatlistInviteAlready b/data/web/corefork.telegram.org/constructor/chatlists.chatlistInviteAlready index 5804e70933..bfdc5c295b 100644 --- a/data/web/corefork.telegram.org/constructor/chatlists.chatlistInviteAlready +++ b/data/web/corefork.telegram.org/constructor/chatlists.chatlistInviteAlready @@ -2,12 +2,40 @@ - Page not found + chatlists.chatlistInviteAlready - - + + - + @@ -39,10 +67,61 @@
    - -

    Page not found

    + +

    chatlists.chatlistInviteAlready

    -
    The page has not been saved
    +

    + +
    +
    chatlists.chatlistInviteAlready#fa87f659 filter_id:int missing_peers:Vector<Peer> already_peers:Vector<Peer> chats:Vector<Chat> users:Vector<User> = chatlists.ChatlistInvite;

    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    filter_idint 
    missing_peersVector<Peer> 
    already_peersVector<Peer> 
    chatsVector<Chat> 
    usersVector<User> 
    +

    Type

    +

    chatlists.ChatlistInvite

    diff --git a/data/web/corefork.telegram.org/constructor/chatlists.chatlistUpdates b/data/web/corefork.telegram.org/constructor/chatlists.chatlistUpdates index 5804e70933..57cd3b87e1 100644 --- a/data/web/corefork.telegram.org/constructor/chatlists.chatlistUpdates +++ b/data/web/corefork.telegram.org/constructor/chatlists.chatlistUpdates @@ -2,12 +2,40 @@ - Page not found + chatlists.chatlistUpdates - - + + - + @@ -39,10 +67,51 @@
    - -

    Page not found

    + +

    chatlists.chatlistUpdates

    -
    The page has not been saved
    +

    + +
    +
    chatlists.chatlistUpdates#93bd878d missing_peers:Vector<Peer> chats:Vector<Chat> users:Vector<User> = chatlists.ChatlistUpdates;

    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    missing_peersVector<Peer> 
    chatsVector<Chat> 
    usersVector<User> 
    +

    Type

    +

    chatlists.ChatlistUpdates

    diff --git a/data/web/corefork.telegram.org/constructor/chatlists.exportedChatlistInvite b/data/web/corefork.telegram.org/constructor/chatlists.exportedChatlistInvite index 5804e70933..951cde228f 100644 --- a/data/web/corefork.telegram.org/constructor/chatlists.exportedChatlistInvite +++ b/data/web/corefork.telegram.org/constructor/chatlists.exportedChatlistInvite @@ -2,12 +2,34 @@ - Page not found + chatlists.exportedChatlistInvite - - + + - + @@ -39,10 +61,46 @@
    - -

    Page not found

    + +

    chatlists.exportedChatlistInvite

    -
    The page has not been saved
    +

    + +
    +
    chatlists.exportedChatlistInvite#10e6e3a6 filter:DialogFilter invite:ExportedChatlistInvite = chatlists.ExportedChatlistInvite;

    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    filterDialogFilter 
    inviteExportedChatlistInvite 
    +

    Type

    +

    chatlists.ExportedChatlistInvite

    diff --git a/data/web/corefork.telegram.org/constructor/chatlists.exportedInvites b/data/web/corefork.telegram.org/constructor/chatlists.exportedInvites index 5804e70933..60373025ca 100644 --- a/data/web/corefork.telegram.org/constructor/chatlists.exportedInvites +++ b/data/web/corefork.telegram.org/constructor/chatlists.exportedInvites @@ -2,12 +2,38 @@ - Page not found + chatlists.exportedInvites - - + + - + @@ -39,10 +65,51 @@
    - -

    Page not found

    + +

    chatlists.exportedInvites

    -
    The page has not been saved
    +

    + +
    +
    chatlists.exportedInvites#10ab6dc7 invites:Vector<ExportedChatlistInvite> chats:Vector<Chat> users:Vector<User> = chatlists.ExportedInvites;

    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    invitesVector<ExportedChatlistInvite> 
    chatsVector<Chat> 
    usersVector<User> 
    +

    Type

    +

    chatlists.ExportedInvites

    diff --git a/data/web/corefork.telegram.org/constructor/dialogFilterChatlist.html b/data/web/corefork.telegram.org/constructor/dialogFilterChatlist.html index 5804e70933..3034998db8 100644 --- a/data/web/corefork.telegram.org/constructor/dialogFilterChatlist.html +++ b/data/web/corefork.telegram.org/constructor/dialogFilterChatlist.html @@ -2,12 +2,38 @@ - Page not found + dialogFilterChatlist - - + + - + @@ -39,10 +65,71 @@
    - -

    Page not found

    + +

    dialogFilterChatlist

    -
    The page has not been saved
    +

    + +
    +
    dialogFilterChatlist#d64a04a8 flags:# has_my_invites:flags.26?true id:int title:string emoticon:flags.25?string pinned_peers:Vector<InputPeer> include_peers:Vector<InputPeer> = DialogFilter;

    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    flags#Flags, see TL conditional fields
    has_my_invitesflags.26?true 
    idint 
    titlestring 
    emoticonflags.25?string 
    pinned_peersVector<InputPeer> 
    include_peersVector<InputPeer> 
    +

    Type

    +

    DialogFilter

    diff --git a/data/web/corefork.telegram.org/constructor/exportedChatlistInvite.html b/data/web/corefork.telegram.org/constructor/exportedChatlistInvite.html index 5804e70933..8e928544fc 100644 --- a/data/web/corefork.telegram.org/constructor/exportedChatlistInvite.html +++ b/data/web/corefork.telegram.org/constructor/exportedChatlistInvite.html @@ -2,12 +2,40 @@ - Page not found + exportedChatlistInvite - - + + - + @@ -39,10 +67,56 @@
    - -

    Page not found

    + +

    exportedChatlistInvite

    -
    The page has not been saved
    +

    + +
    +
    exportedChatlistInvite#c5181ac flags:# title:string url:string peers:Vector<Peer> = ExportedChatlistInvite;

    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    flags#Flags, see TL conditional fields
    titlestring 
    urlstring 
    peersVector<Peer> 
    +

    Type

    +

    ExportedChatlistInvite

    diff --git a/data/web/corefork.telegram.org/constructor/inlineQueryPeerTypeBotPM.html b/data/web/corefork.telegram.org/constructor/inlineQueryPeerTypeBotPM.html index 5804e70933..14eb7a6106 100644 --- a/data/web/corefork.telegram.org/constructor/inlineQueryPeerTypeBotPM.html +++ b/data/web/corefork.telegram.org/constructor/inlineQueryPeerTypeBotPM.html @@ -2,12 +2,18 @@ - Page not found + inlineQueryPeerTypeBotPM - - + + - + @@ -39,10 +45,26 @@
    - -

    Page not found

    + +

    inlineQueryPeerTypeBotPM

    -
    The page has not been saved
    +

    + +
    +
    inlineQueryPeerTypeBotPM#e3b2d0c = InlineQueryPeerType;

    +

    Parameters

    +

    This constructor does not require any parameters.

    +

    Type

    +

    InlineQueryPeerType

    diff --git a/data/web/corefork.telegram.org/constructor/inputChatlistDialogFilter.html b/data/web/corefork.telegram.org/constructor/inputChatlistDialogFilter.html index 5804e70933..e0c8c51c4e 100644 --- a/data/web/corefork.telegram.org/constructor/inputChatlistDialogFilter.html +++ b/data/web/corefork.telegram.org/constructor/inputChatlistDialogFilter.html @@ -2,12 +2,28 @@ - Page not found + inputChatlistDialogFilter - - + + - + @@ -39,10 +55,41 @@
    - -

    Page not found

    + +

    inputChatlistDialogFilter

    -
    The page has not been saved
    +

    + +
    +
    inputChatlistDialogFilter#f3e0da33 filter_id:int = InputChatlist;

    +

    Parameters

    + + + + + + + + + + + + + + + +
    NameTypeDescription
    filter_idint 
    +

    Type

    +

    InputChatlist

    diff --git a/data/web/corefork.telegram.org/constructor/keyboardButtonSwitchInline.html b/data/web/corefork.telegram.org/constructor/keyboardButtonSwitchInline.html index 10b444a211..2bf084d470 100644 --- a/data/web/corefork.telegram.org/constructor/keyboardButtonSwitchInline.html +++ b/data/web/corefork.telegram.org/constructor/keyboardButtonSwitchInline.html @@ -4,10 +4,10 @@ keyboardButtonSwitchInline - + - + @@ -86,6 +86,11 @@ string The inline query to use + +peer_types +flags.1?Vector<InlineQueryPeerType> +  +

    Type

    diff --git a/data/web/corefork.telegram.org/constructor/messageActionGiftPremium.html b/data/web/corefork.telegram.org/constructor/messageActionGiftPremium.html index 8bf26ef16b..70248e4a06 100644 --- a/data/web/corefork.telegram.org/constructor/messageActionGiftPremium.html +++ b/data/web/corefork.telegram.org/constructor/messageActionGiftPremium.html @@ -67,6 +67,11 @@ +flags +# +Flags, see TL conditional fields + + currency string Three-letter ISO 4217 currency code @@ -81,6 +86,16 @@ int Duration of the gifted Telegram Premium subscription + +crypto_currency +flags.0?string +  + + +crypto_amount +flags.0?long +  +

    Type

    diff --git a/data/web/corefork.telegram.org/constructor/messageActionSetChatWallPaper.html b/data/web/corefork.telegram.org/constructor/messageActionSetChatWallPaper.html index 5804e70933..f87710b78b 100644 --- a/data/web/corefork.telegram.org/constructor/messageActionSetChatWallPaper.html +++ b/data/web/corefork.telegram.org/constructor/messageActionSetChatWallPaper.html @@ -2,12 +2,28 @@ - Page not found + messageActionSetChatWallPaper - - + + - + @@ -39,10 +55,41 @@
    - -

    Page not found

    + +

    messageActionSetChatWallPaper

    -
    The page has not been saved
    +

    + +
    +
    messageActionSetChatWallPaper#bc44a927 wallpaper:WallPaper = MessageAction;

    +

    Parameters

    + + + + + + + + + + + + + + + +
    NameTypeDescription
    wallpaperWallPaper 
    +

    Type

    +

    MessageAction

    diff --git a/data/web/corefork.telegram.org/constructor/messageActionSetSameChatWallPaper.html b/data/web/corefork.telegram.org/constructor/messageActionSetSameChatWallPaper.html index 5804e70933..77760a810c 100644 --- a/data/web/corefork.telegram.org/constructor/messageActionSetSameChatWallPaper.html +++ b/data/web/corefork.telegram.org/constructor/messageActionSetSameChatWallPaper.html @@ -2,12 +2,28 @@ - Page not found + messageActionSetSameChatWallPaper - - + + - + @@ -39,10 +55,41 @@
    - -

    Page not found

    + +

    messageActionSetSameChatWallPaper

    -
    The page has not been saved
    +

    + +
    +
    messageActionSetSameChatWallPaper#c0787d6d wallpaper:WallPaper = MessageAction;

    +

    Parameters

    + + + + + + + + + + + + + + + +
    NameTypeDescription
    wallpaperWallPaper 
    +

    Type

    +

    MessageAction

    diff --git a/data/web/corefork.telegram.org/constructor/updateChannelParticipant.html b/data/web/corefork.telegram.org/constructor/updateChannelParticipant.html index 7d1070517e..935dd940aa 100644 --- a/data/web/corefork.telegram.org/constructor/updateChannelParticipant.html +++ b/data/web/corefork.telegram.org/constructor/updateChannelParticipant.html @@ -72,6 +72,11 @@ Flags, see TL conditional fields +via_chatlist +flags.3?true +  + + channel_id long Channel ID diff --git a/data/web/corefork.telegram.org/constructor/user.html b/data/web/corefork.telegram.org/constructor/user.html index 9f0d35c149..7170ef09ca 100644 --- a/data/web/corefork.telegram.org/constructor/user.html +++ b/data/web/corefork.telegram.org/constructor/user.html @@ -167,6 +167,11 @@ Flags, see TL conditional fields +bot_can_edit +flags2.1?true +  + + id long ID of the user diff --git a/data/web/corefork.telegram.org/constructor/userFull.html b/data/web/corefork.telegram.org/constructor/userFull.html index b4d9444c33..d018063ebe 100644 --- a/data/web/corefork.telegram.org/constructor/userFull.html +++ b/data/web/corefork.telegram.org/constructor/userFull.html @@ -196,6 +196,11 @@ flags.19?Vector<PremiumGiftOption> Telegram Premium subscriptions gift options + +wallpaper +flags.24?WallPaper +  +

    Type

    diff --git a/data/web/corefork.telegram.org/method/account.uploadWallPaper b/data/web/corefork.telegram.org/method/account.uploadWallPaper index f402a3112e..a0291db4c9 100644 --- a/data/web/corefork.telegram.org/method/account.uploadWallPaper +++ b/data/web/corefork.telegram.org/method/account.uploadWallPaper @@ -70,6 +70,16 @@ +flags +# +Flags, see TL conditional fields + + +for_chat +flags.0?true +  + + file InputFile The JPG/PNG wallpaper diff --git a/data/web/corefork.telegram.org/method/auth.resetLoginEmail b/data/web/corefork.telegram.org/method/auth.resetLoginEmail index 45855bd0c0..8df61a687f 100644 --- a/data/web/corefork.telegram.org/method/auth.resetLoginEmail +++ b/data/web/corefork.telegram.org/method/auth.resetLoginEmail @@ -2,12 +2,36 @@ - Page not found + auth.resetLoginEmail - - + + - + @@ -39,10 +63,50 @@
    - -

    Page not found

    + +

    auth.resetLoginEmail

    -
    The page has not been saved
    +

    + +
    +
    auth.sentCode#5e002502 flags:# type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode;
    +auth.sentCodeSuccess#2390fe44 authorization:auth.Authorization = auth.SentCode;
    +---functions---
    +auth.resetLoginEmail#7e960193 phone_number:string phone_code_hash:string = auth.SentCode;

    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    phone_numberstring 
    phone_code_hashstring 
    +

    Result

    +

    auth.SentCode

    +

    Bots can use this method

    diff --git a/data/web/corefork.telegram.org/method/bots.getBotInfo b/data/web/corefork.telegram.org/method/bots.getBotInfo index e059398dee..984190d7ef 100644 --- a/data/web/corefork.telegram.org/method/bots.getBotInfo +++ b/data/web/corefork.telegram.org/method/bots.getBotInfo @@ -70,6 +70,16 @@ +flags +# +Flags, see TL conditional fields + + +bot +flags.0?InputUser +  + + lang_code string Language code, if left empty this method will return the fallback about text and description. @@ -77,7 +87,7 @@

    Result

    -

    Vector<string>

    +

    bots.BotInfo

    Possible errors

    diff --git a/data/web/corefork.telegram.org/method/bots.reorderUsernames b/data/web/corefork.telegram.org/method/bots.reorderUsernames index 45855bd0c0..0ea7e95812 100644 --- a/data/web/corefork.telegram.org/method/bots.reorderUsernames +++ b/data/web/corefork.telegram.org/method/bots.reorderUsernames @@ -2,12 +2,36 @@ - Page not found + bots.reorderUsernames - - + + - + @@ -39,10 +63,50 @@
    - -

    Page not found

    + +

    bots.reorderUsernames

    -
    The page has not been saved
    +

    + +
    +
    boolFalse#bc799737 = Bool;
    +boolTrue#997275b5 = Bool;
    +---functions---
    +bots.reorderUsernames#9709b1c2 bot:InputUser order:Vector<string> = Bool;

    +

    Parameters

    +
    + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    botInputUser 
    orderVector<string> 
    +

    Result

    +

    Bool

    +

    Bots can use this method

    diff --git a/data/web/corefork.telegram.org/method/bots.setBotInfo b/data/web/corefork.telegram.org/method/bots.setBotInfo index 987e320ba3..39583fdb11 100644 --- a/data/web/corefork.telegram.org/method/bots.setBotInfo +++ b/data/web/corefork.telegram.org/method/bots.setBotInfo @@ -75,11 +75,21 @@ Flags, see TL conditional fields +bot +flags.2?InputUser +  + + lang_code string Language code, if left empty update the fallback about text and description +name +flags.3?string +  + + about flags.0?string New about text diff --git a/data/web/corefork.telegram.org/method/bots.toggleUsername b/data/web/corefork.telegram.org/method/bots.toggleUsername index 45855bd0c0..852dc176e6 100644 --- a/data/web/corefork.telegram.org/method/bots.toggleUsername +++ b/data/web/corefork.telegram.org/method/bots.toggleUsername @@ -2,12 +2,42 @@ - Page not found + bots.toggleUsername - - + + - + @@ -39,10 +69,55 @@
    - -

    Page not found

    + +

    bots.toggleUsername

    -
    The page has not been saved
    +

    + +
    +
    boolFalse#bc799737 = Bool;
    +boolTrue#997275b5 = Bool;
    +---functions---
    +bots.toggleUsername#53ca973 bot:InputUser username:string active:Bool = Bool;

    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    botInputUser 
    usernamestring 
    activeBool 
    +

    Result

    +

    Bool

    +

    Bots can use this method

    diff --git a/data/web/corefork.telegram.org/method/channels.deleteHistory b/data/web/corefork.telegram.org/method/channels.deleteHistory index dd16ea99f2..60097eff73 100644 --- a/data/web/corefork.telegram.org/method/channels.deleteHistory +++ b/data/web/corefork.telegram.org/method/channels.deleteHistory @@ -126,7 +126,7 @@ 400 CHANNEL_TOO_BIG -  +This channel has too many participants (>1000) to be deleted. 400 diff --git a/data/web/corefork.telegram.org/method/chatlists.checkChatlistInvite b/data/web/corefork.telegram.org/method/chatlists.checkChatlistInvite index 45855bd0c0..089917e4c0 100644 --- a/data/web/corefork.telegram.org/method/chatlists.checkChatlistInvite +++ b/data/web/corefork.telegram.org/method/chatlists.checkChatlistInvite @@ -2,12 +2,30 @@ - Page not found + chatlists.checkChatlistInvite - - + + - + @@ -39,10 +57,45 @@
    - -

    Page not found

    + +

    chatlists.checkChatlistInvite

    -
    The page has not been saved
    +

    + +
    +
    chatlists.chatlistInviteAlready#fa87f659 filter_id:int missing_peers:Vector<Peer> already_peers:Vector<Peer> chats:Vector<Chat> users:Vector<User> = chatlists.ChatlistInvite;
    +chatlists.chatlistInvite#1dcd839d flags:# title:string emoticon:flags.0?string peers:Vector<Peer> chats:Vector<Chat> users:Vector<User> = chatlists.ChatlistInvite;
    +---functions---
    +chatlists.checkChatlistInvite#41c10fff slug:string = chatlists.ChatlistInvite;

    +

    Parameters

    + + + + + + + + + + + + + + + +
    NameTypeDescription
    slugstring 
    +

    Result

    +

    chatlists.ChatlistInvite

    +

    Bots can use this method

    diff --git a/data/web/corefork.telegram.org/method/chatlists.deleteExportedInvite b/data/web/corefork.telegram.org/method/chatlists.deleteExportedInvite index 45855bd0c0..bddac7ff83 100644 --- a/data/web/corefork.telegram.org/method/chatlists.deleteExportedInvite +++ b/data/web/corefork.telegram.org/method/chatlists.deleteExportedInvite @@ -2,12 +2,36 @@ - Page not found + chatlists.deleteExportedInvite - - + + - + @@ -39,10 +63,50 @@
    - -

    Page not found

    + +

    chatlists.deleteExportedInvite

    -
    The page has not been saved
    +

    + +
    +
    boolFalse#bc799737 = Bool;
    +boolTrue#997275b5 = Bool;
    +---functions---
    +chatlists.deleteExportedInvite#719c5c5e chatlist:InputChatlist slug:string = Bool;

    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    chatlistInputChatlist 
    slugstring 
    +

    Result

    +

    Bool

    +

    Bots can use this method

    diff --git a/data/web/corefork.telegram.org/method/chatlists.editExportedInvite b/data/web/corefork.telegram.org/method/chatlists.editExportedInvite index 45855bd0c0..79628c5ed3 100644 --- a/data/web/corefork.telegram.org/method/chatlists.editExportedInvite +++ b/data/web/corefork.telegram.org/method/chatlists.editExportedInvite @@ -2,12 +2,38 @@ - Page not found + chatlists.editExportedInvite - - + + - + @@ -39,10 +65,64 @@
    - -

    Page not found

    + +

    chatlists.editExportedInvite

    -
    The page has not been saved
    +

    + +
    +
    exportedChatlistInvite#c5181ac flags:# title:string url:string peers:Vector<Peer> = ExportedChatlistInvite;
    +---functions---
    +chatlists.editExportedInvite#653db63d flags:# chatlist:InputChatlist slug:string title:flags.1?string peers:flags.2?Vector<InputPeer> = ExportedChatlistInvite;

    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    flags#Flags, see TL conditional fields
    chatlistInputChatlist 
    slugstring 
    titleflags.1?string 
    peersflags.2?Vector<InputPeer> 
    +

    Result

    +

    ExportedChatlistInvite

    +

    Bots can use this method

    diff --git a/data/web/corefork.telegram.org/method/chatlists.exportChatlistInvite b/data/web/corefork.telegram.org/method/chatlists.exportChatlistInvite index 45855bd0c0..89e3de0db8 100644 --- a/data/web/corefork.telegram.org/method/chatlists.exportChatlistInvite +++ b/data/web/corefork.telegram.org/method/chatlists.exportChatlistInvite @@ -2,12 +2,40 @@ - Page not found + chatlists.exportChatlistInvite - - + + - + @@ -39,10 +67,54 @@
    - -

    Page not found

    + +

    chatlists.exportChatlistInvite

    -
    The page has not been saved
    +

    + +
    +
    chatlists.exportedChatlistInvite#10e6e3a6 filter:DialogFilter invite:ExportedChatlistInvite = chatlists.ExportedChatlistInvite;
    +---functions---
    +chatlists.exportChatlistInvite#8472478e chatlist:InputChatlist title:string peers:Vector<InputPeer> = chatlists.ExportedChatlistInvite;

    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    chatlistInputChatlist 
    titlestring 
    peersVector<InputPeer> 
    +

    Result

    +

    chatlists.ExportedChatlistInvite

    +

    Bots can use this method

    diff --git a/data/web/corefork.telegram.org/method/chatlists.getChatlistUpdates b/data/web/corefork.telegram.org/method/chatlists.getChatlistUpdates index 45855bd0c0..f2a53b05a3 100644 --- a/data/web/corefork.telegram.org/method/chatlists.getChatlistUpdates +++ b/data/web/corefork.telegram.org/method/chatlists.getChatlistUpdates @@ -2,12 +2,30 @@ - Page not found + chatlists.getChatlistUpdates - - + + - + @@ -39,10 +57,44 @@
    - -

    Page not found

    + +

    chatlists.getChatlistUpdates

    -
    The page has not been saved
    +

    + +
    +
    chatlists.chatlistUpdates#93bd878d missing_peers:Vector<Peer> chats:Vector<Chat> users:Vector<User> = chatlists.ChatlistUpdates;
    +---functions---
    +chatlists.getChatlistUpdates#89419521 chatlist:InputChatlist = chatlists.ChatlistUpdates;

    +

    Parameters

    + + + + + + + + + + + + + + + +
    NameTypeDescription
    chatlistInputChatlist 
    +

    Result

    +

    chatlists.ChatlistUpdates

    +

    Bots can use this method

    diff --git a/data/web/corefork.telegram.org/method/chatlists.getExportedInvites b/data/web/corefork.telegram.org/method/chatlists.getExportedInvites index 45855bd0c0..76fc2243d4 100644 --- a/data/web/corefork.telegram.org/method/chatlists.getExportedInvites +++ b/data/web/corefork.telegram.org/method/chatlists.getExportedInvites @@ -2,12 +2,30 @@ - Page not found + chatlists.getExportedInvites - - + + - + @@ -39,10 +57,44 @@
    - -

    Page not found

    + +

    chatlists.getExportedInvites

    -
    The page has not been saved
    +

    + +
    +
    chatlists.exportedInvites#10ab6dc7 invites:Vector<ExportedChatlistInvite> chats:Vector<Chat> users:Vector<User> = chatlists.ExportedInvites;
    +---functions---
    +chatlists.getExportedInvites#ce03da83 chatlist:InputChatlist = chatlists.ExportedInvites;

    +

    Parameters

    + + + + + + + + + + + + + + + +
    NameTypeDescription
    chatlistInputChatlist 
    +

    Result

    +

    chatlists.ExportedInvites

    +

    Bots can use this method

    diff --git a/data/web/corefork.telegram.org/method/chatlists.getLeaveChatlistSuggestions b/data/web/corefork.telegram.org/method/chatlists.getLeaveChatlistSuggestions index 45855bd0c0..a594c0dc11 100644 --- a/data/web/corefork.telegram.org/method/chatlists.getLeaveChatlistSuggestions +++ b/data/web/corefork.telegram.org/method/chatlists.getLeaveChatlistSuggestions @@ -2,12 +2,30 @@ - Page not found + chatlists.getLeaveChatlistSuggestions - - + + - + @@ -39,10 +57,43 @@
    - -

    Page not found

    + +

    chatlists.getLeaveChatlistSuggestions

    -
    The page has not been saved
    +

    + +
    +
    ---functions---
    +chatlists.getLeaveChatlistSuggestions#fdbcd714 chatlist:InputChatlist = Vector<Peer>;

    +

    Parameters

    + + + + + + + + + + + + + + + +
    NameTypeDescription
    chatlistInputChatlist 
    +

    Result

    +

    Vector<Peer>

    +

    Bots can use this method

    diff --git a/data/web/corefork.telegram.org/method/chatlists.hideChatlistUpdates b/data/web/corefork.telegram.org/method/chatlists.hideChatlistUpdates index 45855bd0c0..3cdc7ee814 100644 --- a/data/web/corefork.telegram.org/method/chatlists.hideChatlistUpdates +++ b/data/web/corefork.telegram.org/method/chatlists.hideChatlistUpdates @@ -2,12 +2,30 @@ - Page not found + chatlists.hideChatlistUpdates - - + + - + @@ -39,10 +57,45 @@
    - -

    Page not found

    + +

    chatlists.hideChatlistUpdates

    -
    The page has not been saved
    +

    + +
    +
    boolFalse#bc799737 = Bool;
    +boolTrue#997275b5 = Bool;
    +---functions---
    +chatlists.hideChatlistUpdates#66e486fb chatlist:InputChatlist = Bool;

    +

    Parameters

    + + + + + + + + + + + + + + + +
    NameTypeDescription
    chatlistInputChatlist 
    +

    Result

    +

    Bool

    +

    Bots can use this method

    diff --git a/data/web/corefork.telegram.org/method/chatlists.joinChatlistInvite b/data/web/corefork.telegram.org/method/chatlists.joinChatlistInvite index 45855bd0c0..40a9a313ec 100644 --- a/data/web/corefork.telegram.org/method/chatlists.joinChatlistInvite +++ b/data/web/corefork.telegram.org/method/chatlists.joinChatlistInvite @@ -2,12 +2,36 @@ - Page not found + chatlists.joinChatlistInvite - - + + - + @@ -39,10 +63,55 @@
    - -

    Page not found

    + +

    chatlists.joinChatlistInvite

    -
    The page has not been saved
    +

    + +
    +
    updatesTooLong#e317af7e = Updates;
    +updateShortMessage#313bc7f8 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:long message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
    +updateShortChatMessage#4d6deea5 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:long chat_id:long message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
    +updateShort#78d4dec1 update:Update date:int = Updates;
    +updatesCombined#725b04c3 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq_start:int seq:int = Updates;
    +updates#74ae4240 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq:int = Updates;
    +updateShortSentMessage#9015e101 flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
    +---functions---
    +chatlists.joinChatlistInvite#a6b1e39a slug:string peers:Vector<InputPeer> = Updates;

    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    slugstring 
    peersVector<InputPeer> 
    +

    Result

    +

    Updates

    +

    Bots can use this method

    diff --git a/data/web/corefork.telegram.org/method/chatlists.joinChatlistUpdates b/data/web/corefork.telegram.org/method/chatlists.joinChatlistUpdates index 45855bd0c0..7407ee6d97 100644 --- a/data/web/corefork.telegram.org/method/chatlists.joinChatlistUpdates +++ b/data/web/corefork.telegram.org/method/chatlists.joinChatlistUpdates @@ -2,12 +2,36 @@ - Page not found + chatlists.joinChatlistUpdates - - + + - + @@ -39,10 +63,55 @@
    - -

    Page not found

    + +

    chatlists.joinChatlistUpdates

    -
    The page has not been saved
    +

    + +
    +
    updatesTooLong#e317af7e = Updates;
    +updateShortMessage#313bc7f8 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:long message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
    +updateShortChatMessage#4d6deea5 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:long chat_id:long message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
    +updateShort#78d4dec1 update:Update date:int = Updates;
    +updatesCombined#725b04c3 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq_start:int seq:int = Updates;
    +updates#74ae4240 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq:int = Updates;
    +updateShortSentMessage#9015e101 flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
    +---functions---
    +chatlists.joinChatlistUpdates#e089f8f5 chatlist:InputChatlist peers:Vector<InputPeer> = Updates;

    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    chatlistInputChatlist 
    peersVector<InputPeer> 
    +

    Result

    +

    Updates

    +

    Bots can use this method

    diff --git a/data/web/corefork.telegram.org/method/chatlists.leaveChatlist b/data/web/corefork.telegram.org/method/chatlists.leaveChatlist index 45855bd0c0..69f774927c 100644 --- a/data/web/corefork.telegram.org/method/chatlists.leaveChatlist +++ b/data/web/corefork.telegram.org/method/chatlists.leaveChatlist @@ -2,12 +2,36 @@ - Page not found + chatlists.leaveChatlist - - + + - + @@ -39,10 +63,55 @@
    - -

    Page not found

    + +

    chatlists.leaveChatlist

    -
    The page has not been saved
    +

    + +
    +
    updatesTooLong#e317af7e = Updates;
    +updateShortMessage#313bc7f8 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:long message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
    +updateShortChatMessage#4d6deea5 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:long chat_id:long message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
    +updateShort#78d4dec1 update:Update date:int = Updates;
    +updatesCombined#725b04c3 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq_start:int seq:int = Updates;
    +updates#74ae4240 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq:int = Updates;
    +updateShortSentMessage#9015e101 flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
    +---functions---
    +chatlists.leaveChatlist#74fae13a chatlist:InputChatlist peers:Vector<InputPeer> = Updates;

    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    chatlistInputChatlist 
    peersVector<InputPeer> 
    +

    Result

    +

    Updates

    +

    Bots can use this method

    diff --git a/data/web/corefork.telegram.org/method/folders.deleteFolder b/data/web/corefork.telegram.org/method/folders.deleteFolder index ac91cf0a57..57b29a0dcd 100644 --- a/data/web/corefork.telegram.org/method/folders.deleteFolder +++ b/data/web/corefork.telegram.org/method/folders.deleteFolder @@ -62,7 +62,7 @@

    Result

    -

    Updates

    +

     

    Possible errors

    diff --git a/data/web/corefork.telegram.org/method/messages.sendVote b/data/web/corefork.telegram.org/method/messages.sendVote index 4d808e6227..22a5aeefb9 100644 --- a/data/web/corefork.telegram.org/method/messages.sendVote +++ b/data/web/corefork.telegram.org/method/messages.sendVote @@ -125,6 +125,11 @@ + + + + + diff --git a/data/web/corefork.telegram.org/method/messages.setChatWallPaper b/data/web/corefork.telegram.org/method/messages.setChatWallPaper index 45855bd0c0..295d83591b 100644 --- a/data/web/corefork.telegram.org/method/messages.setChatWallPaper +++ b/data/web/corefork.telegram.org/method/messages.setChatWallPaper @@ -2,12 +2,34 @@ - Page not found + messages.setChatWallPaper - - + + - + @@ -39,10 +61,70 @@
    - -

    Page not found

    + +

    messages.setChatWallPaper

    -
    The page has not been saved
    +

    + +
    +
    updatesTooLong#e317af7e = Updates;
    +updateShortMessage#313bc7f8 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:long message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
    +updateShortChatMessage#4d6deea5 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:long chat_id:long message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
    +updateShort#78d4dec1 update:Update date:int = Updates;
    +updatesCombined#725b04c3 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq_start:int seq:int = Updates;
    +updates#74ae4240 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq:int = Updates;
    +updateShortSentMessage#9015e101 flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
    +---functions---
    +messages.setChatWallPaper#8ffacae1 flags:# peer:InputPeer wallpaper:flags.0?InputWallPaper settings:flags.2?WallPaperSettings id:flags.1?int = Updates;

    +

    Parameters

    +
    400MSG_ID_INVALIDInvalid message ID provided.
    400 OPTIONS_TOO_MUCH Too many options provided.
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    flags#Flags, see TL conditional fields
    peerInputPeer 
    wallpaperflags.0?InputWallPaper 
    settingsflags.2?WallPaperSettings 
    idflags.1?int 
    +

    Result

    +

    Updates

    +

    Bots can use this method

    diff --git a/data/web/corefork.telegram.org/method/photos.updateProfilePhoto b/data/web/corefork.telegram.org/method/photos.updateProfilePhoto index b65d32ee36..fcb4286696 100644 --- a/data/web/corefork.telegram.org/method/photos.updateProfilePhoto +++ b/data/web/corefork.telegram.org/method/photos.updateProfilePhoto @@ -79,6 +79,11 @@ If set, the chosen profile photo will be shown to users that can't display your main profile photo due to your privacy settings. +bot +flags.1?InputUser +  + + id InputPhoto Input photo diff --git a/data/web/corefork.telegram.org/method/photos.uploadProfilePhoto b/data/web/corefork.telegram.org/method/photos.uploadProfilePhoto index 44efb4f173..bb6d66a717 100644 --- a/data/web/corefork.telegram.org/method/photos.uploadProfilePhoto +++ b/data/web/corefork.telegram.org/method/photos.uploadProfilePhoto @@ -80,6 +80,11 @@ If set, the chosen profile photo will be shown to users that can't display your main profile photo due to your privacy settings. +bot +flags.5?InputUser +  + + file flags.0?InputFile Profile photo diff --git a/data/web/corefork.telegram.org/mtproto/mtproto-transports.html b/data/web/corefork.telegram.org/mtproto/mtproto-transports.html index d889810c35..510aad1db2 100644 --- a/data/web/corefork.telegram.org/mtproto/mtproto-transports.html +++ b/data/web/corefork.telegram.org/mtproto/mtproto-transports.html @@ -64,7 +64,7 @@ Additionally, the following transport features can be used:

  • Transport errors
  • Transport obfuscation
  • -

    Example implementations for these protocols can be seen in tdlib and MadelineProto.

    +

    Example implementations for these protocols can be seen in tdlib and MadelineProto.

    Abridged

    The lightest protocol available.

    diff --git a/data/web/corefork.telegram.org/type/DialogFilter.html b/data/web/corefork.telegram.org/type/DialogFilter.html index affa01cfe0..f49a68cf44 100644 --- a/data/web/corefork.telegram.org/type/DialogFilter.html +++ b/data/web/corefork.telegram.org/type/DialogFilter.html @@ -75,6 +75,10 @@ dialogFilterDefault Used only when reordering folders to indicate the default (all chats) folder. + +dialogFilterChatlist +  +

    Related pages

    diff --git a/data/web/corefork.telegram.org/type/ExportedChatlistInvite.html b/data/web/corefork.telegram.org/type/ExportedChatlistInvite.html index 5804e70933..d8427881cd 100644 --- a/data/web/corefork.telegram.org/type/ExportedChatlistInvite.html +++ b/data/web/corefork.telegram.org/type/ExportedChatlistInvite.html @@ -2,12 +2,30 @@ - Page not found + ExportedChatlistInvite - - + + - + @@ -39,10 +57,56 @@
    - -

    Page not found

    + +

    ExportedChatlistInvite

    -
    The page has not been saved
    +

    + +
    +
    exportedChatlistInvite#c5181ac flags:# title:string url:string peers:Vector<Peer> = ExportedChatlistInvite;
    +
    +---functions---
    +
    +chatlists.editExportedInvite#653db63d flags:# chatlist:InputChatlist slug:string title:flags.1?string peers:flags.2?Vector<InputPeer> = ExportedChatlistInvite;

    +

    Constructors

    + + + + + + + + + + + + + +
    ConstructorDescription
    exportedChatlistInvite 
    +

    Methods

    + + + + + + + + + + + + + +
    MethodDescription
    chatlists.editExportedInvite 
    diff --git a/data/web/corefork.telegram.org/type/InlineQueryPeerType.html b/data/web/corefork.telegram.org/type/InlineQueryPeerType.html index 44cd5c5fbf..c9ee01f586 100644 --- a/data/web/corefork.telegram.org/type/InlineQueryPeerType.html +++ b/data/web/corefork.telegram.org/type/InlineQueryPeerType.html @@ -90,6 +90,10 @@ inlineQueryPeerTypeBroadcast The inline query was sent in a channel + +inlineQueryPeerTypeBotPM +  +
    diff --git a/data/web/corefork.telegram.org/type/InputChatlist.html b/data/web/corefork.telegram.org/type/InputChatlist.html index 5804e70933..b48eb11fe3 100644 --- a/data/web/corefork.telegram.org/type/InputChatlist.html +++ b/data/web/corefork.telegram.org/type/InputChatlist.html @@ -2,12 +2,20 @@ - Page not found + InputChatlist - - + + - + @@ -39,10 +47,37 @@
    - -

    Page not found

    + +

    InputChatlist

    -
    The page has not been saved
    +

    + +
    +
    inputChatlistDialogFilter#f3e0da33 filter_id:int = InputChatlist;

    +

    Constructors

    + + + + + + + + + + + + + +
    ConstructorDescription
    inputChatlistDialogFilter 
    diff --git a/data/web/corefork.telegram.org/type/MessageAction.html b/data/web/corefork.telegram.org/type/MessageAction.html index c5c574fcdf..d79f2b7b8b 100644 --- a/data/web/corefork.telegram.org/type/MessageAction.html +++ b/data/web/corefork.telegram.org/type/MessageAction.html @@ -251,6 +251,14 @@ messageActionRequestedPeer Contains info about a peer that the user shared with the bot after clicking on a keyboardButtonRequestPeer button. + +messageActionSetChatWallPaper +  + + +messageActionSetSameChatWallPaper +  +
    diff --git a/data/web/corefork.telegram.org/type/Updates.html b/data/web/corefork.telegram.org/type/Updates.html index 2f3f8da66a..88fc736907 100644 --- a/data/web/corefork.telegram.org/type/Updates.html +++ b/data/web/corefork.telegram.org/type/Updates.html @@ -365,10 +365,6 @@ Edit peers in peer folder -folders.deleteFolder -Delete a peer folder - - contacts.addContact Add an existing telegram user as contact.

    Use contacts.importContacts to add contacts by phone number, without knowing their Telegram ID. @@ -544,6 +540,22 @@ messages.sendBotRequestedPeer Send a chosen peer, as requested by a keyboardButtonRequestPeer button. + +chatlists.joinChatlistInvite +  + + +chatlists.joinChatlistUpdates +  + + +chatlists.leaveChatlist +  + + +messages.setChatWallPaper +  +
    diff --git a/data/web/corefork.telegram.org/type/auth.SentCode b/data/web/corefork.telegram.org/type/auth.SentCode index a61d5bead9..239d951107 100644 --- a/data/web/corefork.telegram.org/type/auth.SentCode +++ b/data/web/corefork.telegram.org/type/auth.SentCode @@ -115,6 +115,10 @@ account.sendVerifyPhoneCode Send the verification phone code for telegram passport. + +auth.resetLoginEmail +  +
    diff --git a/data/web/corefork.telegram.org/type/bots.BotInfo b/data/web/corefork.telegram.org/type/bots.BotInfo index 5804e70933..d9cbd7cff7 100644 --- a/data/web/corefork.telegram.org/type/bots.BotInfo +++ b/data/web/corefork.telegram.org/type/bots.BotInfo @@ -2,12 +2,30 @@ - Page not found + bots.BotInfo - - + + - + @@ -39,10 +57,56 @@
    - -

    Page not found

    + +

    bots.BotInfo

    -
    The page has not been saved
    +

    + +
    +
    bots.botInfo#e8a775b0 name:string about:string description:string = bots.BotInfo;
    +
    +---functions---
    +
    +bots.getBotInfo#dcd914fd flags:# bot:flags.0?InputUser lang_code:string = bots.BotInfo;

    +

    Constructors

    + + + + + + + + + + + + + +
    ConstructorDescription
    bots.botInfo 
    +

    Methods

    + + + + + + + + + + + + + +
    MethodDescription
    bots.getBotInfoGet our about text and description (bots only)

    Returns a vector of strings: the first string will be the about text, the second string will be the description.
    diff --git a/data/web/corefork.telegram.org/type/chatlists.ChatlistInvite b/data/web/corefork.telegram.org/type/chatlists.ChatlistInvite index 5804e70933..fc418e1903 100644 --- a/data/web/corefork.telegram.org/type/chatlists.ChatlistInvite +++ b/data/web/corefork.telegram.org/type/chatlists.ChatlistInvite @@ -2,12 +2,30 @@ - Page not found + chatlists.ChatlistInvite - - + + - + @@ -39,10 +57,61 @@
    - -

    Page not found

    + +

    chatlists.ChatlistInvite

    -
    The page has not been saved
    +

    + +
    +
    chatlists.chatlistInviteAlready#fa87f659 filter_id:int missing_peers:Vector<Peer> already_peers:Vector<Peer> chats:Vector<Chat> users:Vector<User> = chatlists.ChatlistInvite;
    +chatlists.chatlistInvite#1dcd839d flags:# title:string emoticon:flags.0?string peers:Vector<Peer> chats:Vector<Chat> users:Vector<User> = chatlists.ChatlistInvite;
    +
    +---functions---
    +
    +chatlists.checkChatlistInvite#41c10fff slug:string = chatlists.ChatlistInvite;

    +

    Constructors

    + + + + + + + + + + + + + + + + + +
    ConstructorDescription
    chatlists.chatlistInviteAlready 
    chatlists.chatlistInvite 
    +

    Methods

    + + + + + + + + + + + + + +
    MethodDescription
    chatlists.checkChatlistInvite 
    diff --git a/data/web/corefork.telegram.org/type/chatlists.ChatlistUpdates b/data/web/corefork.telegram.org/type/chatlists.ChatlistUpdates index 5804e70933..a4f7b27149 100644 --- a/data/web/corefork.telegram.org/type/chatlists.ChatlistUpdates +++ b/data/web/corefork.telegram.org/type/chatlists.ChatlistUpdates @@ -2,12 +2,28 @@ - Page not found + chatlists.ChatlistUpdates - - + + - + @@ -39,10 +55,56 @@
    - -

    Page not found

    + +

    chatlists.ChatlistUpdates

    -
    The page has not been saved
    +

    + +
    +
    chatlists.chatlistUpdates#93bd878d missing_peers:Vector<Peer> chats:Vector<Chat> users:Vector<User> = chatlists.ChatlistUpdates;
    +
    +---functions---
    +
    +chatlists.getChatlistUpdates#89419521 chatlist:InputChatlist = chatlists.ChatlistUpdates;

    +

    Constructors

    + + + + + + + + + + + + + +
    ConstructorDescription
    chatlists.chatlistUpdates 
    +

    Methods

    + + + + + + + + + + + + + +
    MethodDescription
    chatlists.getChatlistUpdates 
    diff --git a/data/web/corefork.telegram.org/type/chatlists.ExportedChatlistInvite b/data/web/corefork.telegram.org/type/chatlists.ExportedChatlistInvite index 5804e70933..b0dc3891b2 100644 --- a/data/web/corefork.telegram.org/type/chatlists.ExportedChatlistInvite +++ b/data/web/corefork.telegram.org/type/chatlists.ExportedChatlistInvite @@ -2,12 +2,28 @@ - Page not found + chatlists.ExportedChatlistInvite - - + + - + @@ -39,10 +55,56 @@
    - -

    Page not found

    + +

    chatlists.ExportedChatlistInvite

    -
    The page has not been saved
    +

    + +
    +
    chatlists.exportedChatlistInvite#10e6e3a6 filter:DialogFilter invite:ExportedChatlistInvite = chatlists.ExportedChatlistInvite;
    +
    +---functions---
    +
    +chatlists.exportChatlistInvite#8472478e chatlist:InputChatlist title:string peers:Vector<InputPeer> = chatlists.ExportedChatlistInvite;

    +

    Constructors

    + + + + + + + + + + + + + +
    ConstructorDescription
    chatlists.exportedChatlistInvite 
    +

    Methods

    + + + + + + + + + + + + + +
    MethodDescription
    chatlists.exportChatlistInvite 
    diff --git a/data/web/corefork.telegram.org/type/chatlists.ExportedInvites b/data/web/corefork.telegram.org/type/chatlists.ExportedInvites index 5804e70933..3365431ed4 100644 --- a/data/web/corefork.telegram.org/type/chatlists.ExportedInvites +++ b/data/web/corefork.telegram.org/type/chatlists.ExportedInvites @@ -2,12 +2,28 @@ - Page not found + chatlists.ExportedInvites - - + + - + @@ -39,10 +55,56 @@
    - -

    Page not found

    + +

    chatlists.ExportedInvites

    -
    The page has not been saved
    +

    + +
    +
    chatlists.exportedInvites#10ab6dc7 invites:Vector<ExportedChatlistInvite> chats:Vector<Chat> users:Vector<User> = chatlists.ExportedInvites;
    +
    +---functions---
    +
    +chatlists.getExportedInvites#ce03da83 chatlist:InputChatlist = chatlists.ExportedInvites;

    +

    Constructors

    + + + + + + + + + + + + + +
    ConstructorDescription
    chatlists.exportedInvites 
    +

    Methods

    + + + + + + + + + + + + + +
    MethodDescription
    chatlists.getExportedInvites