mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-29 07:52:37 +01:00
Update content of files
This commit is contained in:
parent
0bb76e609d
commit
439019a81c
2 changed files with 8 additions and 126 deletions
|
@ -59,7 +59,7 @@
|
|||
<a href="/api/bots/webapps#simple-web-apps">Web apps</a> can now be opened by clicking on a <code>switch_webview</code> inline result, similar to <code>switch_pm</code> inline results.<br>
|
||||
Bots can now edit their own about text and description.<br>
|
||||
Also, the <a href="/api/auth#future-auth-tokens">future auth token</a> is now directly returned in the <a href="/constructor/config">config</a> constructor, which was also cleaned up to remove redundant information already contained in the <a href="/api/config#client-configuration">appConfig configuration</a>.<br>
|
||||
<a href="/method/messages.getMessageReadParticipants">messages.getMessageReadParticipants</a> now returns a timestamp for each user, indicating when that user has read the specified message. </p>
|
||||
<a href="/method/messages.getMessageReadParticipants">messages.getMessageReadParticipants</a> now returns a timestamp for each user, indicating when that user has read the specified message.</p>
|
||||
<p>Additionally, when using <a href="/method/messages.addChatUser">messages.addChatUser</a>, <a href="/method/channels.inviteToChannel">channels.inviteToChannel</a> or <a href="/method/messages.createChat">messages.createChat</a>, 0-N updates of type <a href="/constructor/updateGroupInvitePrivacyForbidden">updateGroupInvitePrivacyForbidden</a> may be returned, indicating that the server couldn't add a user to a chat because of their privacy settings; if required, an <a href="/api/invites">invite link</a> can be shared with the user, instead.</p>
|
||||
<p>Finally, sponsored messages can now contain detailed info about the sponsor of the message or the message itself.</p>
|
||||
<h4><a class="anchor" href="#schema-changes" id="schema-changes" name="schema-changes"><i class="anchor-icon"></i></a>Schema changes</h4>
|
||||
|
@ -95,10 +95,6 @@ Also, the <a href="/api/auth#future-auth-tokens">future auth token</a> is now di
|
|||
<li>Added <strong>flags</strong>, <strong>attach_menu</strong>, <strong>app</strong> parameters, changed type of <strong>domain</strong> from <strong>string</strong> to <strong>flags.0?string</strong> in <a href="/constructor/messageActionBotAllowed">messageActionBotAllowed</a></li>
|
||||
<li>Added <strong>sponsor_info</strong>, <strong>additional_info</strong> parameters in <a href="/constructor/sponsoredMessage">sponsoredMessage</a></li>
|
||||
</ul>
|
||||
<h5><a class="anchor" href="#deleted-constructors" id="deleted-constructors" name="deleted-constructors"><i class="anchor-icon"></i></a>Deleted Constructors</h5>
|
||||
<ul>
|
||||
<li>Removed messageActionAttachMenuBotAllowed</li>
|
||||
</ul>
|
||||
<h4><a class="anchor" href="#schema" id="schema" name="schema"><i class="anchor-icon"></i></a>Schema</h4>
|
||||
<div><pre><code><a href="/constructor/config">config</a>#cc1a241e flags:<a href="/type/%23">#</a> default_p2p_contacts:flags.3?<a href="/constructor/true">true</a> preload_featured_stickers:flags.4?<a href="/constructor/true">true</a> revoke_pm_inbox:flags.6?<a href="/constructor/true">true</a> blocked_mode:flags.8?<a href="/constructor/true">true</a> force_try_ipv6:flags.14?<a href="/constructor/true">true</a> date:<a href="/type/int">int</a> expires:<a href="/type/int">int</a> test_mode:<a href="/type/Bool">Bool</a> this_dc:<a href="/type/int">int</a> dc_options:<a href="/type/Vector%20t">Vector</a><<a href="/type/DcOption">DcOption</a>> dc_txt_domain_name:<a href="/type/string">string</a> chat_size_max:<a href="/type/int">int</a> megagroup_size_max:<a href="/type/int">int</a> forwarded_count_max:<a href="/type/int">int</a> online_update_period_ms:<a href="/type/int">int</a> offline_blur_timeout_ms:<a href="/type/int">int</a> offline_idle_timeout_ms:<a href="/type/int">int</a> online_cloud_timeout_ms:<a href="/type/int">int</a> notify_cloud_delay_ms:<a href="/type/int">int</a> notify_default_delay_ms:<a href="/type/int">int</a> push_chat_period_ms:<a href="/type/int">int</a> push_chat_limit:<a href="/type/int">int</a> edit_time_limit:<a href="/type/int">int</a> revoke_time_limit:<a href="/type/int">int</a> revoke_pm_time_limit:<a href="/type/int">int</a> rating_e_decay:<a href="/type/int">int</a> stickers_recent_limit:<a href="/type/int">int</a> channels_read_media_period:<a href="/type/int">int</a> tmp_sessions:flags.0?<a href="/type/int">int</a> call_receive_timeout_ms:<a href="/type/int">int</a> call_ring_timeout_ms:<a href="/type/int">int</a> call_connect_timeout_ms:<a href="/type/int">int</a> call_packet_timeout_ms:<a href="/type/int">int</a> me_url_prefix:<a href="/type/string">string</a> autoupdate_url_prefix:flags.7?<a href="/type/string">string</a> gif_search_username:flags.9?<a href="/type/string">string</a> venue_search_username:flags.10?<a href="/type/string">string</a> img_search_username:flags.11?<a href="/type/string">string</a> static_maps_provider:flags.12?<a href="/type/string">string</a> caption_length_max:<a href="/type/int">int</a> message_length_max:<a href="/type/int">int</a> webfile_dc_id:<a href="/type/int">int</a> suggested_lang_code:flags.2?<a href="/type/string">string</a> lang_pack_version:flags.2?<a href="/type/int">int</a> base_lang_pack_version:flags.2?<a href="/type/int">int</a> reactions_default:flags.15?<a href="/type/Reaction">Reaction</a> autologin_token:flags.16?<a href="/type/string">string</a> = <a href="/type/Config">Config</a>;<br>
|
||||
<a href="/constructor/messages.botResults">messages.botResults</a>#e021f2f6 flags:<a href="/type/%23">#</a> gallery:flags.0?<a href="/constructor/true">true</a> query_id:<a href="/type/long">long</a> next_offset:flags.1?<a href="/type/string">string</a> switch_pm:flags.2?<a href="/type/InlineBotSwitchPM">InlineBotSwitchPM</a> switch_webview:flags.3?<a href="/type/InlineBotWebView">InlineBotWebView</a> results:<a href="/type/Vector%20t">Vector</a><<a href="/type/BotInlineResult">BotInlineResult</a>> cache_time:<a href="/type/int">int</a> users:<a href="/type/Vector%20t">Vector</a><<a href="/type/User">User</a>> = <a href="/type/messages.BotResults">messages.BotResults</a>;
|
||||
|
@ -156,6 +152,12 @@ Also, the <a href="/api/auth#future-auth-tokens">future auth token</a> is now di
|
|||
<a href="/method/stickers.renameStickerSet">stickers.renameStickerSet</a>#124b1c00 stickerset:<a href="/type/InputStickerSet">InputStickerSet</a> title:<a href="/type/string">string</a> = <a href="/type/messages.StickerSet">messages.StickerSet</a>;
|
||||
<a href="/method/stickers.deleteStickerSet">stickers.deleteStickerSet</a>#87704394 stickerset:<a href="/type/InputStickerSet">InputStickerSet</a> = <a href="/type/Bool">Bool</a>;<br></code></pre></div>
|
||||
<h3><a class="anchor" href="#layer-152" id="layer-152" name="layer-152"><i class="anchor-icon"></i></a><a href="/schema?layer=152">Layer 152</a></h3>
|
||||
<p>Users can now set <a href="/api/files#sticker-profile-pictures">stickers or custom emojis as profile or group/channel pictures »</a>, and <a href="/api/premium">Telegram Premium</a> users can enable <a href="/api/translation">real-time chat translation »</a>, which allows seamless translation of chat messages, keeping <a href="/api/entities">style entities</a> intact.<br>
|
||||
Bots can now prompt the user to select and share a peer with the bot with <a href="/method/messages.sendBotRequestedPeer">messages.sendBotRequestedPeer</a>, by using a <a href="/constructor/keyboardButtonRequestPeer">keyboardButtonRequestPeer</a> bot button.<br>
|
||||
Added support for <a href="/api/custom-emoji#emoji-categories">categorized custom emojis »</a>, and a <a href="/method/messages.searchCustomEmoji">messages.searchCustomEmoji</a> method to look up <a href="/api/custom-emoji">custom emojis</a> by their corresponding UTF8 emoji.<br>
|
||||
Also implemented synchronization of media autosave settings.</p>
|
||||
<p>Most importantly, added support for Safetynet/Firebase SMS authentication, which is now mandatory when requesting SMS codes to log in or sign up to Telegram.<br>
|
||||
Currently, only official apps can make use of Safetynet/Firebase SMS authentication: this means that only the official applications can be used to sign up to Telegram, or receive the login code via SMS/call. Third-party apps may log in using any of the other code delivery methods (Telegram codes, Fragment codes, email codes, <a href="/api/auth#future-auth-tokens">future auth tokens</a>).</p>
|
||||
<h4><a class="anchor" href="#schema-changes" id="schema-changes" name="schema-changes"><i class="anchor-icon"></i></a>Schema changes</h4>
|
||||
<h5><a class="anchor" href="#new-methods" id="new-methods" name="new-methods"><i class="anchor-icon"></i></a>New Methods</h5>
|
||||
<ul>
|
||||
|
@ -279,7 +281,6 @@ Also, the <a href="/api/auth#future-auth-tokens">future auth token</a> is now di
|
|||
<h5><a class="anchor" href="#new-constructors" id="new-constructors" name="new-constructors"><i class="anchor-icon"></i></a>New Constructors</h5>
|
||||
<ul>
|
||||
<li>Added <a href="/constructor/messageActionSuggestProfilePhoto">messageActionSuggestProfilePhoto</a> - A new profile picture was suggested using <a href="/method/photos.uploadContactProfilePhoto">photos.uploadContactProfilePhoto</a>.</li>
|
||||
<li>Added <a href="/constructor/messageActionAttachMenuBotAllowed">messageActionAttachMenuBotAllowed</a></li>
|
||||
<li>Added <a href="/constructor/stickerSetNoCovered">stickerSetNoCovered</a> - Just the stickerset information, with no previews.</li>
|
||||
<li>Added <a href="/constructor/updateUser">updateUser</a> - User information was updated, it must be refetched using <a href="/method/users.getFullUser">users.getFullUser</a>.</li>
|
||||
</ul>
|
||||
|
@ -317,8 +318,7 @@ Also, the <a href="/api/auth#future-auth-tokens">future auth token</a> is now di
|
|||
<a href="/constructor/inputMediaPhotoExternal">inputMediaPhotoExternal</a>#e5bbfe1a flags:<a href="/type/%23">#</a> spoiler:flags.1?<a href="/constructor/true">true</a> url:<a href="/type/string">string</a> ttl_seconds:flags.0?<a href="/type/int">int</a> = <a href="/type/InputMedia">InputMedia</a>;
|
||||
<a href="/constructor/inputMediaDocumentExternal">inputMediaDocumentExternal</a>#fb52dc99 flags:<a href="/type/%23">#</a> spoiler:flags.1?<a href="/constructor/true">true</a> url:<a href="/type/string">string</a> ttl_seconds:flags.0?<a href="/type/int">int</a> = <a href="/type/InputMedia">InputMedia</a>;<br>
|
||||
<a href="/constructor/attachMenuBot">attachMenuBot</a>#c8aa2cd2 flags:<a href="/type/%23">#</a> inactive:flags.0?<a href="/constructor/true">true</a> has_settings:flags.1?<a href="/constructor/true">true</a> request_write_access:flags.2?<a href="/constructor/true">true</a> bot_id:<a href="/type/long">long</a> short_name:<a href="/type/string">string</a> peer_types:<a href="/type/Vector%20t">Vector</a><<a href="/type/AttachMenuPeerType">AttachMenuPeerType</a>> icons:<a href="/type/Vector%20t">Vector</a><<a href="/type/AttachMenuBotIcon">AttachMenuBotIcon</a>> = <a href="/type/AttachMenuBot">AttachMenuBot</a>;<br>
|
||||
<a href="/constructor/messageActionSuggestProfilePhoto">messageActionSuggestProfilePhoto</a>#57de635e photo:<a href="/type/Photo">Photo</a> = <a href="/type/MessageAction">MessageAction</a>;
|
||||
<a href="/constructor/messageActionAttachMenuBotAllowed">messageActionAttachMenuBotAllowed</a>#e7e75f97 = <a href="/type/MessageAction">MessageAction</a>;<br>
|
||||
<a href="/constructor/messageActionSuggestProfilePhoto">messageActionSuggestProfilePhoto</a>#57de635e photo:<a href="/type/Photo">Photo</a> = <a href="/type/MessageAction">MessageAction</a>;<br>
|
||||
<a href="/constructor/stickerSetNoCovered">stickerSetNoCovered</a>#77b15d1c set:<a href="/type/StickerSet">StickerSet</a> = <a href="/type/StickerSetCovered">StickerSetCovered</a>;<br>
|
||||
<a href="/constructor/updateUser">updateUser</a>#20529438 user_id:<a href="/type/long">long</a> = <a href="/type/Update">Update</a>;<br>
|
||||
---functions---<br>
|
||||
|
|
|
@ -1,118 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Page not found</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="">
|
||||
<meta property="og:title" content="Page not found">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="">
|
||||
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png">
|
||||
<link rel="alternate icon" href="/img/favicon.ico" type="image/x-icon" />
|
||||
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
|
||||
|
||||
<link href="/css/telegram.css?236" rel="stylesheet" media="screen">
|
||||
<style>
|
||||
</style>
|
||||
</head>
|
||||
<body class="preload">
|
||||
<div class="dev_page_wrap">
|
||||
<div class="dev_page_head navbar navbar-static-top navbar-tg">
|
||||
<div class="navbar-inner">
|
||||
<div class="container clearfix">
|
||||
<ul class="nav navbar-nav navbar-right hidden-xs"><li class="navbar-twitter"><a href="https://twitter.com/telegram" target="_blank" data-track="Follow/Twitter" onclick="trackDlClick(this, event)"><i class="icon icon-twitter"></i><span> Twitter</span></a></li></ul>
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="//telegram.org/">Home</a></li>
|
||||
<li class="hidden-xs"><a href="//telegram.org/faq">FAQ</a></li>
|
||||
<li class="hidden-xs"><a href="//telegram.org/apps">Apps</a></li>
|
||||
<li class=""><a href="/api">API</a></li>
|
||||
<li class=""><a href="/mtproto">Protocol</a></li>
|
||||
<li class="active"><a href="/schema">Schema</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container clearfix">
|
||||
<div class="dev_page">
|
||||
<div id="dev_page_content_wrap" class=" ">
|
||||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li></li></ul></div>
|
||||
<h1 id="dev_page_title">Page not found</h1>
|
||||
|
||||
<div id="dev_page_content">The page has not been saved</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer_wrap">
|
||||
<div class="footer_columns_wrap footer_desktop">
|
||||
<div class="footer_column footer_column_telegram">
|
||||
<h5>Telegram</h5>
|
||||
<div class="footer_telegram_description"></div>
|
||||
Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed.
|
||||
</div>
|
||||
|
||||
<div class="footer_column">
|
||||
<h5><a href="//telegram.org/faq">About</a></h5>
|
||||
<ul>
|
||||
<li><a href="//telegram.org/faq">FAQ</a></li>
|
||||
<li><a href="//telegram.org/privacy">Privacy</a></li>
|
||||
<li><a href="//telegram.org/press">Press</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer_column">
|
||||
<h5><a href="//telegram.org/apps#mobile-apps">Mobile Apps</a></h5>
|
||||
<ul>
|
||||
<li><a href="//telegram.org/dl/ios">iPhone/iPad</a></li>
|
||||
<li><a href="//telegram.org/android">Android</a></li>
|
||||
<li><a href="//telegram.org/dl/web">Mobile Web</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer_column">
|
||||
<h5><a href="//telegram.org/apps#desktop-apps">Desktop Apps</a></h5>
|
||||
<ul>
|
||||
<li><a href="//desktop.telegram.org/">PC/Mac/Linux</a></li>
|
||||
<li><a href="//macos.telegram.org/">macOS</a></li>
|
||||
<li><a href="//telegram.org/dl/web">Web-browser</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer_column footer_column_platform">
|
||||
<h5><a href="//core.telegram.org/">Platform</a></h5>
|
||||
<ul>
|
||||
<li><a href="//core.telegram.org/api">API</a></li>
|
||||
<li><a href="//translations.telegram.org/">Translations</a></li>
|
||||
<li><a href="//instantview.telegram.org/">Instant View</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer_columns_wrap footer_mobile">
|
||||
<div class="footer_column">
|
||||
<h5><a href="//telegram.org/faq">About</a></h5>
|
||||
</div>
|
||||
<div class="footer_column">
|
||||
<h5><a href="//telegram.org/blog">Blog</a></h5>
|
||||
</div>
|
||||
<div class="footer_column">
|
||||
<h5><a href="//telegram.org/apps">Apps</a></h5>
|
||||
</div>
|
||||
<div class="footer_column">
|
||||
<h5><a href="//core.telegram.org/">Platform</a></h5>
|
||||
</div>
|
||||
<div class="footer_column">
|
||||
<h5><a href="https://twitter.com/telegram" target="_blank" data-track="Follow/Twitter" onclick="trackDlClick(this, event)">Twitter</a></h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="/js/main.js?47"></script>
|
||||
|
||||
<script>backToTopInit("Go up");
|
||||
removePreloadInit();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in a new issue