Update content of files

This commit is contained in:
GitHub Action 2023-11-14 21:15:00 +00:00
parent d1744a2dda
commit b5ca8d10b4
42 changed files with 435 additions and 739 deletions

View file

@ -101,12 +101,12 @@
<li>Added <a href="/constructor/updateStoriesStealthMode">updateStoriesStealthMode</a> - Indicates that <a href="/api/stories#stealth-mode">stories stealth mode</a> was activated.</li> <li>Added <a href="/constructor/updateStoriesStealthMode">updateStoriesStealthMode</a> - Indicates that <a href="/api/stories#stealth-mode">stories stealth mode</a> was activated.</li>
<li>Added <a href="/constructor/mediaAreaCoordinates">mediaAreaCoordinates</a> - Coordinates and size of a clicable rectangular area on top of a story.</li> <li>Added <a href="/constructor/mediaAreaCoordinates">mediaAreaCoordinates</a> - Coordinates and size of a clicable rectangular area on top of a story.</li>
<li>Added <a href="/constructor/mediaAreaVenue">mediaAreaVenue</a> - Represents a location tag attached to a <a href="/api/stories">story</a>, with additional venue information.</li> <li>Added <a href="/constructor/mediaAreaVenue">mediaAreaVenue</a> - Represents a location tag attached to a <a href="/api/stories">story</a>, with additional venue information.</li>
<li>Added <a href="/constructor/inputMediaAreaVenue">inputMediaAreaVenue</a> - </li> <li>Added <a href="/constructor/inputMediaAreaVenue">inputMediaAreaVenue</a> - Represents a <a href="/api/stories#media-areas">location tag</a> attached to a <a href="/api/stories">story</a>, with additional venue information.</li>
<li>Added <a href="/constructor/mediaAreaGeoPoint">mediaAreaGeoPoint</a> - Represents a geolocation tag attached to a <a href="/api/stories">story</a>.</li> <li>Added <a href="/constructor/mediaAreaGeoPoint">mediaAreaGeoPoint</a> - Represents a geolocation tag attached to a <a href="/api/stories">story</a>.</li>
<li>Added <a href="/constructor/updateSentStoryReaction">updateSentStoryReaction</a> - Indicates we <a href="/api/stories#reactions">reacted to a story »</a>.</li> <li>Added <a href="/constructor/updateSentStoryReaction">updateSentStoryReaction</a> - Indicates we <a href="/api/stories#reactions">reacted to a story »</a>.</li>
<li>Added <a href="/constructor/mediaAreaSuggestedReaction">mediaAreaSuggestedReaction</a> - Represents a reaction bubble.</li> <li>Added <a href="/constructor/mediaAreaSuggestedReaction">mediaAreaSuggestedReaction</a> - Represents a reaction bubble.</li>
<li>Added <a href="/constructor/peerStories">peerStories</a> - </li> <li>Added <a href="/constructor/peerStories">peerStories</a> - <a href="/api/stories">Stories</a> associated to a peer</li>
<li>Added <a href="/constructor/stories.peerStories">stories.peerStories</a> - </li> <li>Added <a href="/constructor/stories.peerStories">stories.peerStories</a> - <a href="/api/stories#watching-stories">Active story list</a> of a specific peer.</li>
<li>Added <a href="/constructor/stories.boostsStatus">stories.boostsStatus</a> - The current <a href="/api/boost">boost status »</a> of a channel.</li> <li>Added <a href="/constructor/stories.boostsStatus">stories.boostsStatus</a> - The current <a href="/api/boost">boost status »</a> of a channel.</li>
<li>Added <a href="/constructor/stories.canApplyBoostOk">stories.canApplyBoostOk</a> - We're not boosting any channel, and we can freely boost the specified channel.</li> <li>Added <a href="/constructor/stories.canApplyBoostOk">stories.canApplyBoostOk</a> - We're not boosting any channel, and we can freely boost the specified channel.</li>
<li>Added <a href="/constructor/stories.canApplyBoostReplace">stories.canApplyBoostReplace</a> - We're boosting another channel, but we can freely boost the specified channel.</li> <li>Added <a href="/constructor/stories.canApplyBoostReplace">stories.canApplyBoostReplace</a> - We're boosting another channel, but we can freely boost the specified channel.</li>
@ -268,21 +268,21 @@
<li>Added <a href="/constructor/userStories">userStories</a></li> <li>Added <a href="/constructor/userStories">userStories</a></li>
<li>Added <a href="/constructor/updateStory">updateStory</a> - A new story was posted.</li> <li>Added <a href="/constructor/updateStory">updateStory</a> - A new story was posted.</li>
<li>Added <a href="/constructor/updateReadStories">updateReadStories</a> - </li> <li>Added <a href="/constructor/updateReadStories">updateReadStories</a> - </li>
<li>Added <a href="/constructor/stories.allStoriesNotModified">stories.allStoriesNotModified</a> - </li> <li>Added <a href="/constructor/stories.allStoriesNotModified">stories.allStoriesNotModified</a> - The list of active (or active and hidden) <a href="/api/stories#watching-stories">stories</a> has not changed.</li>
<li>Added <a href="/constructor/stories.allStories">stories.allStories</a> - </li> <li>Added <a href="/constructor/stories.allStories">stories.allStories</a> - Full list of active (or active and hidden) <a href="/api/stories#watching-stories">stories</a>.</li>
<li>Added <a href="/constructor/stories.stories">stories.stories</a> - </li> <li>Added <a href="/constructor/stories.stories">stories.stories</a> - List of <a href="/api/stories#pinnedarchived-stories">stories</a></li>
<li>Added <a href="/constructor/stories.userStories">stories.userStories</a></li> <li>Added <a href="/constructor/stories.userStories">stories.userStories</a></li>
<li>Added <a href="/constructor/inputPrivacyValueAllowCloseFriends">inputPrivacyValueAllowCloseFriends</a> - </li> <li>Added <a href="/constructor/inputPrivacyValueAllowCloseFriends">inputPrivacyValueAllowCloseFriends</a> - Allow only <a href="/api/privacy">close friends »</a></li>
<li>Added <a href="/constructor/privacyValueAllowCloseFriends">privacyValueAllowCloseFriends</a> - </li> <li>Added <a href="/constructor/privacyValueAllowCloseFriends">privacyValueAllowCloseFriends</a> - Allow only <a href="/api/privacy">close friends »</a></li>
<li>Added <a href="/constructor/storyView">storyView</a> - </li> <li>Added <a href="/constructor/storyView">storyView</a> - </li>
<li>Added <a href="/constructor/stories.storyViewsList">stories.storyViewsList</a> - </li> <li>Added <a href="/constructor/stories.storyViewsList">stories.storyViewsList</a> - Reaction and view counters for a <a href="/api/stories">story</a></li>
<li>Added <a href="/constructor/stories.storyViews">stories.storyViews</a> - </li> <li>Added <a href="/constructor/stories.storyViews">stories.storyViews</a> - Reaction and view counters for a list of <a href="/api/stories">stories</a></li>
<li>Added <a href="/constructor/inputReplyToMessage">inputReplyToMessage</a> - Reply to a message.</li> <li>Added <a href="/constructor/inputReplyToMessage">inputReplyToMessage</a> - Reply to a message.</li>
<li>Added <a href="/constructor/inputReplyToStory">inputReplyToStory</a> - Reply to a story.</li> <li>Added <a href="/constructor/inputReplyToStory">inputReplyToStory</a> - Reply to a story.</li>
<li>Added <a href="/constructor/messageReplyStoryHeader">messageReplyStoryHeader</a> - </li> <li>Added <a href="/constructor/messageReplyStoryHeader">messageReplyStoryHeader</a> - Represents a reply to a <a href="/api/stories">story</a></li>
<li>Added <a href="/constructor/updateStoryID">updateStoryID</a> - </li> <li>Added <a href="/constructor/updateStoryID">updateStoryID</a> - </li>
<li>Added <a href="/constructor/exportedStoryLink">exportedStoryLink</a> - </li> <li>Added <a href="/constructor/exportedStoryLink">exportedStoryLink</a> - Represents a <a href="/api/stories#story-links">story deep link</a>.</li>
<li>Added <a href="/constructor/inputMediaStory">inputMediaStory</a> - </li> <li>Added <a href="/constructor/inputMediaStory">inputMediaStory</a> - Forwarded story</li>
<li>Added <a href="/constructor/messageMediaStory">messageMediaStory</a> - </li> <li>Added <a href="/constructor/messageMediaStory">messageMediaStory</a> - </li>
<li>Added <a href="/constructor/webPageAttributeStory">webPageAttributeStory</a> - </li> <li>Added <a href="/constructor/webPageAttributeStory">webPageAttributeStory</a> - </li>
</ul> </ul>
@ -373,11 +373,11 @@
</ul> </ul>
<h5><a class="anchor" href="#new-constructors" id="new-constructors" name="new-constructors"><i class="anchor-icon"></i></a>New Constructors</h5> <h5><a class="anchor" href="#new-constructors" id="new-constructors" name="new-constructors"><i class="anchor-icon"></i></a>New Constructors</h5>
<ul> <ul>
<li>Added <a href="/constructor/messagePeerVote">messagePeerVote</a> - </li> <li>Added <a href="/constructor/messagePeerVote">messagePeerVote</a> - How a peer voted in a poll</li>
<li>Added <a href="/constructor/messagePeerVoteInputOption">messagePeerVoteInputOption</a> - </li> <li>Added <a href="/constructor/messagePeerVoteInputOption">messagePeerVoteInputOption</a> - How a peer voted in a poll (reduced constructor, returned if an <code>option</code> was provided to <a href="/method/messages.getPollVotes">messages.getPollVotes</a>)</li>
<li>Added <a href="/constructor/messagePeerVoteMultiple">messagePeerVoteMultiple</a> - </li> <li>Added <a href="/constructor/messagePeerVoteMultiple">messagePeerVoteMultiple</a> - How a peer voted in a multiple-choice poll</li>
<li>Added <a href="/constructor/inputPrivacyKeyAbout">inputPrivacyKeyAbout</a> - </li> <li>Added <a href="/constructor/inputPrivacyKeyAbout">inputPrivacyKeyAbout</a> - Whether people can see your bio</li>
<li>Added <a href="/constructor/privacyKeyAbout">privacyKeyAbout</a> - </li> <li>Added <a href="/constructor/privacyKeyAbout">privacyKeyAbout</a> - Whether people can see your bio</li>
<li>Added <a href="/constructor/sponsoredWebPage">sponsoredWebPage</a> - </li> <li>Added <a href="/constructor/sponsoredWebPage">sponsoredWebPage</a> - </li>
</ul> </ul>
<h5><a class="anchor" href="#changed-constructors" id="changed-constructors" name="changed-constructors"><i class="anchor-icon"></i></a>Changed Constructors</h5> <h5><a class="anchor" href="#changed-constructors" id="changed-constructors" name="changed-constructors"><i class="anchor-icon"></i></a>Changed Constructors</h5>

View file

@ -113,7 +113,15 @@
<a href="/type/InputPrivacyKey">InputPrivacyKey</a> constructors are <em>passed</em> as input to methods that accept privacy keys, while <a href="/type/PrivacyKey">PrivacyKey</a>s are contained in constructors <em>returned</em> by the API. </p> <a href="/type/InputPrivacyKey">InputPrivacyKey</a> constructors are <em>passed</em> as input to methods that accept privacy keys, while <a href="/type/PrivacyKey">PrivacyKey</a>s are contained in constructors <em>returned</em> by the API. </p>
<p>See <a href="/type/InputPrivacyRule">the type page »</a> for a full list of privacy keys and their descriptions. </p> <p>See <a href="/type/InputPrivacyRule">the type page »</a> for a full list of privacy keys and their descriptions. </p>
<p>Use <a href="/method/account.getPrivacy">account.getPrivacy</a> to obtain the current set of <a href="#privacy-rules">rules</a> associated to a key, and <a href="/method/account.setPrivacy">account.setPrivacy</a> to change it.</p> <p>Use <a href="/method/account.getPrivacy">account.getPrivacy</a> to obtain the current set of <a href="#privacy-rules">rules</a> associated to a key, and <a href="/method/account.setPrivacy">account.setPrivacy</a> to change it.</p>
<p>Changing the privacy settings will trigger an <a href="/constructor/updatePrivacy">updatePrivacy</a>, sent to all currently logged in sessions of the current account.</p></div> <p>Changing the privacy settings will trigger an <a href="/constructor/updatePrivacy">updatePrivacy</a>, sent to all currently logged in sessions of the current account.</p>
<h3><a class="anchor" href="#global-privacy-settings" id="global-privacy-settings" name="global-privacy-settings"><i class="anchor-icon"></i></a>Global privacy settings</h3>
<pre><code><a href='/constructor/globalPrivacySettings'>globalPrivacySettings</a>#734c4ccb flags:<a href='/type/%23'>#</a> archive_and_mute_new_noncontact_peers:flags.0?<a href='/constructor/true'>true</a> keep_archived_unmuted:flags.1?<a href='/constructor/true'>true</a> keep_archived_folders:flags.2?<a href='/constructor/true'>true</a> = <a href='/type/GlobalPrivacySettings'>GlobalPrivacySettings</a>;
---functions---
<a href='/method/account.getGlobalPrivacySettings'>account.getGlobalPrivacySettings</a>#eb2b4cf6 = <a href='/type/GlobalPrivacySettings'>GlobalPrivacySettings</a>;
<a href='/method/account.setGlobalPrivacySettings'>account.setGlobalPrivacySettings</a>#1edaaac2 settings:<a href='/type/GlobalPrivacySettings'>GlobalPrivacySettings</a> = <a href='/type/GlobalPrivacySettings'>GlobalPrivacySettings</a>;</code></pre>
<p>Some global privacy settings can also be fetched and modified using <a href="/method/account.getGlobalPrivacySettings">account.getGlobalPrivacySettings</a> and <a href="/method/account.setGlobalPrivacySettings">account.setGlobalPrivacySettings</a>.</p></div>
</div> </div>

View file

@ -324,7 +324,7 @@
<tr> <tr>
<td><strong>stories</strong></td> <td><strong>stories</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags2</a>.4?<a href="/type/PeerStories">PeerStories</a></td> <td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags2</a>.4?<a href="/type/PeerStories">PeerStories</a></td>
<td> </td> <td>Channel <a href="/api/stories">stories</a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@ -358,7 +358,9 @@
<h4><a class="anchor" href="#invites" id="invites" name="invites"><i class="anchor-icon"></i></a><a href="/api/invites">Invites</a></h4> <h4><a class="anchor" href="#invites" id="invites" name="invites"><i class="anchor-icon"></i></a><a href="/api/invites">Invites</a></h4>
<p>Chats and channels may have a public username or a private invite link: private invite links may be further enhanced with per-user join requests.</p> <p>Chats and channels may have a public username or a private invite link: private invite links may be further enhanced with per-user join requests.</p>
<h4><a class="anchor" href="#message-reactions" id="message-reactions" name="message-reactions"><i class="anchor-icon"></i></a><a href="/api/reactions">Message reactions</a></h4> <h4><a class="anchor" href="#message-reactions" id="message-reactions" name="message-reactions"><i class="anchor-icon"></i></a><a href="/api/reactions">Message reactions</a></h4>
<p>Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.</p></div> <p>Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.</p>
<h4><a class="anchor" href="#stories" id="stories" name="stories"><i class="anchor-icon"></i></a><a href="/api/stories">Stories</a></h4>
<p>Telegram users and channels can easily post and view stories through the API.</p></div>
</div> </div>

View file

@ -99,17 +99,17 @@
<tr> <tr>
<td><strong>verified</strong></td> <td><strong>verified</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.7?<a href="/constructor/true">true</a></td> <td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.7?<a href="/constructor/true">true</a></td>
<td> </td> <td>Is this chat or channel verified by Telegram?</td>
</tr> </tr>
<tr> <tr>
<td><strong>scam</strong></td> <td><strong>scam</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.8?<a href="/constructor/true">true</a></td> <td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.8?<a href="/constructor/true">true</a></td>
<td> </td> <td>This chat is probably a scam</td>
</tr> </tr>
<tr> <tr>
<td><strong>fake</strong></td> <td><strong>fake</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.9?<a href="/constructor/true">true</a></td> <td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.9?<a href="/constructor/true">true</a></td>
<td> </td> <td>If set, this chat was reported by many users as a fake or scam: be careful when interacting with it.</td>
</tr> </tr>
<tr> <tr>
<td><strong>title</strong></td> <td><strong>title</strong></td>

View file

@ -4,26 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>exportedStoryLink</title> <title>exportedStoryLink</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="Represents a story deep link.">
Name
Type
Description
link
string
 
Type
ExportedStoryLink">
<meta property="og:title" content="exportedStoryLink"> <meta property="og:title" content="exportedStoryLink">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="Represents a story deep link.">
Name
Type
Description
link
string
 
Type
ExportedStoryLink">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <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="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="32x32" href="/img/favicon-32x32.png">
@ -58,7 +42,8 @@ ExportedStoryLink">
<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><a href="/constructor/exportedStoryLink" >exportedStoryLink</a></li></ul></div> <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><a href="/constructor/exportedStoryLink" >exportedStoryLink</a></li></ul></div>
<h1 id="dev_page_title">exportedStoryLink</h1> <h1 id="dev_page_title">exportedStoryLink</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>Represents a <a href="/api/stories#story-links">story deep link</a>.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>
@ -84,12 +69,15 @@ ExportedStoryLink">
<tr> <tr>
<td><strong>link</strong></td> <td><strong>link</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td> <td style="text-align: center;"><a href="/type/string">string</a></td>
<td> </td> <td>The <a href="/api/stories#story-links">story deep link</a>.</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3> <h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/ExportedStoryLink">ExportedStoryLink</a></p></div> <p><a href="/type/ExportedStoryLink">ExportedStoryLink</a></p>
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#stories" id="stories" name="stories"><i class="anchor-icon"></i></a><a href="/api/stories">Stories</a></h4>
<p>Telegram users and channels can easily post and view stories through the API.</p></div>
</div> </div>

View file

@ -4,38 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>inputMediaAreaVenue</title> <title>inputMediaAreaVenue</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="Represents a location tag attached to a story, with additional venue information.">
Name
Type
Description
coordinates
MediaAreaCoordinates
 
query_id
long
 
result_id
string
 
Type
MediaArea">
<meta property="og:title" content="inputMediaAreaVenue"> <meta property="og:title" content="inputMediaAreaVenue">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="Represents a location tag attached to a story, with additional venue information.">
Name
Type
Description
coordinates
MediaAreaCoordinates
 
query_id
long
 
result_id
string
 
Type
MediaArea">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <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="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="32x32" href="/img/favicon-32x32.png">
@ -70,7 +42,8 @@ MediaArea">
<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><a href="/constructor/inputMediaAreaVenue" >inputMediaAreaVenue</a></li></ul></div> <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><a href="/constructor/inputMediaAreaVenue" >inputMediaAreaVenue</a></li></ul></div>
<h1 id="dev_page_title">inputMediaAreaVenue</h1> <h1 id="dev_page_title">inputMediaAreaVenue</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>Represents a <a href="/api/stories#media-areas">location tag</a> attached to a <a href="/api/stories">story</a>, with additional venue information.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>
@ -96,22 +69,27 @@ MediaArea">
<tr> <tr>
<td><strong>coordinates</strong></td> <td><strong>coordinates</strong></td>
<td style="text-align: center;"><a href="/type/MediaAreaCoordinates">MediaAreaCoordinates</a></td> <td style="text-align: center;"><a href="/type/MediaAreaCoordinates">MediaAreaCoordinates</a></td>
<td> </td> <td>The size and location of the media area corresponding to the location sticker on top of the story media.</td>
</tr> </tr>
<tr> <tr>
<td><strong>query_id</strong></td> <td><strong>query_id</strong></td>
<td style="text-align: center;"><a href="/type/long">long</a></td> <td style="text-align: center;"><a href="/type/long">long</a></td>
<td> </td> <td>The <code>query_id</code> from <a href="/constructor/messages.botResults">messages.botResults</a>, see <a href="/api/stories#media-areas">here »</a> for more info.</td>
</tr> </tr>
<tr> <tr>
<td><strong>result_id</strong></td> <td><strong>result_id</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td> <td style="text-align: center;"><a href="/type/string">string</a></td>
<td> </td> <td>The <code>id</code> of the chosen result, see <a href="/api/stories#media-areas">here »</a> for more info.</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3> <h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/MediaArea">MediaArea</a></p></div> <p><a href="/type/MediaArea">MediaArea</a></p>
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#messagesbotresults" id="messagesbotresults" name="messagesbotresults"><i class="anchor-icon"></i></a><a href="/constructor/messages.botResults">messages.botResults</a></h4>
<p>Result of a query to an inline bot</p>
<h4><a class="anchor" href="#stories" id="stories" name="stories"><i class="anchor-icon"></i></a><a href="/api/stories">Stories</a></h4>
<p>Telegram users and channels can easily post and view stories through the API.</p></div>
</div> </div>

View file

@ -4,32 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>inputMediaStory</title> <title>inputMediaStory</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="Forwarded story">
Name
Type
Description
peer
InputPeer
 
id
int
 
Type
InputMedia">
<meta property="og:title" content="inputMediaStory"> <meta property="og:title" content="inputMediaStory">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="Forwarded story">
Name
Type
Description
peer
InputPeer
 
id
int
 
Type
InputMedia">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <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="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="32x32" href="/img/favicon-32x32.png">
@ -64,7 +42,8 @@ InputMedia">
<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><a href="/constructor/inputMediaStory" >inputMediaStory</a></li></ul></div> <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><a href="/constructor/inputMediaStory" >inputMediaStory</a></li></ul></div>
<h1 id="dev_page_title">inputMediaStory</h1> <h1 id="dev_page_title">inputMediaStory</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>Forwarded story</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>
@ -90,12 +69,12 @@ InputMedia">
<tr> <tr>
<td><strong>peer</strong></td> <td><strong>peer</strong></td>
<td style="text-align: center;"><a href="/type/InputPeer">InputPeer</a></td> <td style="text-align: center;"><a href="/type/InputPeer">InputPeer</a></td>
<td> </td> <td>Peer where the story was posted</td>
</tr> </tr>
<tr> <tr>
<td><strong>id</strong></td> <td><strong>id</strong></td>
<td style="text-align: center;"><a href="/type/int">int</a></td> <td style="text-align: center;"><a href="/type/int">int</a></td>
<td> </td> <td>Story ID</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -4,16 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>inputPrivacyKeyAbout</title> <title>inputPrivacyKeyAbout</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="Whether people can see your bio">
This constructor does not require any parameters.
Type
InputPrivacyKey">
<meta property="og:title" content="inputPrivacyKeyAbout"> <meta property="og:title" content="inputPrivacyKeyAbout">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="Whether people can see your bio">
This constructor does not require any parameters.
Type
InputPrivacyKey">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <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="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="32x32" href="/img/favicon-32x32.png">
@ -48,7 +42,8 @@ InputPrivacyKey">
<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><a href="/constructor/inputPrivacyKeyAbout" >inputPrivacyKeyAbout</a></li></ul></div> <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><a href="/constructor/inputPrivacyKeyAbout" >inputPrivacyKeyAbout</a></li></ul></div>
<h1 id="dev_page_title">inputPrivacyKeyAbout</h1> <h1 id="dev_page_title">inputPrivacyKeyAbout</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>Whether people can see your bio</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>

View file

@ -4,16 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>inputPrivacyValueAllowCloseFriends</title> <title>inputPrivacyValueAllowCloseFriends</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="Allow only close friends »">
This constructor does not require any parameters.
Type
InputPrivacyRule">
<meta property="og:title" content="inputPrivacyValueAllowCloseFriends"> <meta property="og:title" content="inputPrivacyValueAllowCloseFriends">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="Allow only close friends »">
This constructor does not require any parameters.
Type
InputPrivacyRule">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <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="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="32x32" href="/img/favicon-32x32.png">
@ -48,7 +42,8 @@ InputPrivacyRule">
<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><a href="/constructor/inputPrivacyValueAllowCloseFriends" >inputPrivacyValueAllowCloseFriends</a></li></ul></div> <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><a href="/constructor/inputPrivacyValueAllowCloseFriends" >inputPrivacyValueAllowCloseFriends</a></li></ul></div>
<h1 id="dev_page_title">inputPrivacyValueAllowCloseFriends</h1> <h1 id="dev_page_title">inputPrivacyValueAllowCloseFriends</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>Allow only <a href="/api/privacy">close friends »</a></p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>
@ -64,7 +59,10 @@ InputPrivacyRule">
<h3><a class="anchor" href="#parameters" id="parameters" name="parameters"><i class="anchor-icon"></i></a>Parameters</h3> <h3><a class="anchor" href="#parameters" id="parameters" name="parameters"><i class="anchor-icon"></i></a>Parameters</h3>
<p>This constructor does not require any parameters.</p> <p>This constructor does not require any parameters.</p>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3> <h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/InputPrivacyRule">InputPrivacyRule</a></p></div> <p><a href="/type/InputPrivacyRule">InputPrivacyRule</a></p>
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#privacy" id="privacy" name="privacy"><i class="anchor-icon"></i></a><a href="/api/privacy">Privacy</a></h4>
<p>Telegram allows users to specify granular privacy settings, choosing which users can or can't interact with them in certain ways.</p></div>
</div> </div>

View file

@ -139,7 +139,7 @@
<tr> <tr>
<td><strong>terms_url</strong></td> <td><strong>terms_url</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.10?<a href="/type/string">string</a></td> <td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.10?<a href="/type/string">string</a></td>
<td> </td> <td>Terms of service URL</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -4,38 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>messagePeerVote</title> <title>messagePeerVote</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="How a peer voted in a poll">
Name
Type
Description
peer
Peer
 
option
bytes
 
date
int
 
Type
MessagePeerVote">
<meta property="og:title" content="messagePeerVote"> <meta property="og:title" content="messagePeerVote">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="How a peer voted in a poll">
Name
Type
Description
peer
Peer
 
option
bytes
 
date
int
 
Type
MessagePeerVote">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <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="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="32x32" href="/img/favicon-32x32.png">
@ -70,7 +42,8 @@ MessagePeerVote">
<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><a href="/constructor/messagePeerVote" >messagePeerVote</a></li></ul></div> <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><a href="/constructor/messagePeerVote" >messagePeerVote</a></li></ul></div>
<h1 id="dev_page_title">messagePeerVote</h1> <h1 id="dev_page_title">messagePeerVote</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>How a peer voted in a poll</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>
@ -96,17 +69,17 @@ MessagePeerVote">
<tr> <tr>
<td><strong>peer</strong></td> <td><strong>peer</strong></td>
<td style="text-align: center;"><a href="/type/Peer">Peer</a></td> <td style="text-align: center;"><a href="/type/Peer">Peer</a></td>
<td> </td> <td>Peer ID</td>
</tr> </tr>
<tr> <tr>
<td><strong>option</strong></td> <td><strong>option</strong></td>
<td style="text-align: center;"><a href="/type/bytes">bytes</a></td> <td style="text-align: center;"><a href="/type/bytes">bytes</a></td>
<td> </td> <td>The option chosen by the peer</td>
</tr> </tr>
<tr> <tr>
<td><strong>date</strong></td> <td><strong>date</strong></td>
<td style="text-align: center;"><a href="/type/int">int</a></td> <td style="text-align: center;"><a href="/type/int">int</a></td>
<td> </td> <td>When did the peer cast the vote</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -4,32 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>messagePeerVoteInputOption</title> <title>messagePeerVoteInputOption</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="How a peer voted in a poll (reduced constructor, returned if an option was provided to messages.getPollVotes)">
Name
Type
Description
peer
Peer
 
date
int
 
Type
MessagePeerVote">
<meta property="og:title" content="messagePeerVoteInputOption"> <meta property="og:title" content="messagePeerVoteInputOption">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="How a peer voted in a poll (reduced constructor, returned if an option was provided to messages.getPollVotes)">
Name
Type
Description
peer
Peer
 
date
int
 
Type
MessagePeerVote">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <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="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="32x32" href="/img/favicon-32x32.png">
@ -64,7 +42,8 @@ MessagePeerVote">
<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><a href="/constructor/messagePeerVoteInputOption" >messagePeerVoteInputOption</a></li></ul></div> <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><a href="/constructor/messagePeerVoteInputOption" >messagePeerVoteInputOption</a></li></ul></div>
<h1 id="dev_page_title">messagePeerVoteInputOption</h1> <h1 id="dev_page_title">messagePeerVoteInputOption</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>How a peer voted in a poll (reduced constructor, returned if an <code>option</code> was provided to <a href="/method/messages.getPollVotes">messages.getPollVotes</a>)</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>
@ -90,17 +69,20 @@ MessagePeerVote">
<tr> <tr>
<td><strong>peer</strong></td> <td><strong>peer</strong></td>
<td style="text-align: center;"><a href="/type/Peer">Peer</a></td> <td style="text-align: center;"><a href="/type/Peer">Peer</a></td>
<td> </td> <td>The peer that voted for the queried <code>option</code></td>
</tr> </tr>
<tr> <tr>
<td><strong>date</strong></td> <td><strong>date</strong></td>
<td style="text-align: center;"><a href="/type/int">int</a></td> <td style="text-align: center;"><a href="/type/int">int</a></td>
<td> </td> <td>When did the peer cast the vote</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3> <h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/MessagePeerVote">MessagePeerVote</a></p></div> <p><a href="/type/MessagePeerVote">MessagePeerVote</a></p>
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#messagesgetpollvotes" id="messagesgetpollvotes" name="messagesgetpollvotes"><i class="anchor-icon"></i></a><a href="/method/messages.getPollVotes">messages.getPollVotes</a></h4>
<p>Get poll results for non-anonymous polls</p></div>
</div> </div>

View file

@ -4,38 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>messagePeerVoteMultiple</title> <title>messagePeerVoteMultiple</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="How a peer voted in a multiple-choice poll">
Name
Type
Description
peer
Peer
 
options
Vector&lt;bytes&gt;
 
date
int
 
Type
MessagePeerVote">
<meta property="og:title" content="messagePeerVoteMultiple"> <meta property="og:title" content="messagePeerVoteMultiple">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="How a peer voted in a multiple-choice poll">
Name
Type
Description
peer
Peer
 
options
Vector&lt;bytes&gt;
 
date
int
 
Type
MessagePeerVote">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <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="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="32x32" href="/img/favicon-32x32.png">
@ -70,7 +42,8 @@ MessagePeerVote">
<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><a href="/constructor/messagePeerVoteMultiple" >messagePeerVoteMultiple</a></li></ul></div> <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><a href="/constructor/messagePeerVoteMultiple" >messagePeerVoteMultiple</a></li></ul></div>
<h1 id="dev_page_title">messagePeerVoteMultiple</h1> <h1 id="dev_page_title">messagePeerVoteMultiple</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>How a peer voted in a multiple-choice poll</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>
@ -96,17 +69,17 @@ MessagePeerVote">
<tr> <tr>
<td><strong>peer</strong></td> <td><strong>peer</strong></td>
<td style="text-align: center;"><a href="/type/Peer">Peer</a></td> <td style="text-align: center;"><a href="/type/Peer">Peer</a></td>
<td> </td> <td>Peer ID</td>
</tr> </tr>
<tr> <tr>
<td><strong>options</strong></td> <td><strong>options</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/bytes">bytes</a>&gt;</td> <td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/bytes">bytes</a>&gt;</td>
<td> </td> <td>Options chosen by the peer</td>
</tr> </tr>
<tr> <tr>
<td><strong>date</strong></td> <td><strong>date</strong></td>
<td style="text-align: center;"><a href="/type/int">int</a></td> <td style="text-align: center;"><a href="/type/int">int</a></td>
<td> </td> <td>When did the peer cast their votes</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -4,32 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>messageReplyStoryHeader</title> <title>messageReplyStoryHeader</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="Represents a reply to a story">
Name
Type
Description
user_id
long
 
story_id
int
 
Type
MessageReplyHeader">
<meta property="og:title" content="messageReplyStoryHeader"> <meta property="og:title" content="messageReplyStoryHeader">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="Represents a reply to a story">
Name
Type
Description
user_id
long
 
story_id
int
 
Type
MessageReplyHeader">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <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="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="32x32" href="/img/favicon-32x32.png">
@ -64,7 +42,8 @@ MessageReplyHeader">
<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><a href="/constructor/messageReplyStoryHeader" >messageReplyStoryHeader</a></li></ul></div> <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><a href="/constructor/messageReplyStoryHeader" >messageReplyStoryHeader</a></li></ul></div>
<h1 id="dev_page_title">messageReplyStoryHeader</h1> <h1 id="dev_page_title">messageReplyStoryHeader</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>Represents a reply to a <a href="/api/stories">story</a></p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>
@ -90,17 +69,20 @@ MessageReplyHeader">
<tr> <tr>
<td><strong>user_id</strong></td> <td><strong>user_id</strong></td>
<td style="text-align: center;"><a href="/type/long">long</a></td> <td style="text-align: center;"><a href="/type/long">long</a></td>
<td> </td> <td>ID of the user that posted a story</td>
</tr> </tr>
<tr> <tr>
<td><strong>story_id</strong></td> <td><strong>story_id</strong></td>
<td style="text-align: center;"><a href="/type/int">int</a></td> <td style="text-align: center;"><a href="/type/int">int</a></td>
<td> </td> <td>Story ID</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3> <h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/MessageReplyHeader">MessageReplyHeader</a></p></div> <p><a href="/type/MessageReplyHeader">MessageReplyHeader</a></p>
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#stories" id="stories" name="stories"><i class="anchor-icon"></i></a><a href="/api/stories">Stories</a></h4>
<p>Telegram users and channels can easily post and view stories through the API.</p></div>
</div> </div>

View file

@ -84,7 +84,7 @@
<tr> <tr>
<td><strong>chats</strong></td> <td><strong>chats</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/Chat">Chat</a>&gt;</td> <td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/Chat">Chat</a>&gt;</td>
<td> </td> <td>Mentioned chats</td>
</tr> </tr>
<tr> <tr>
<td><strong>users</strong></td> <td><strong>users</strong></td>

View file

@ -4,36 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>peerStories</title> <title>peerStories</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="Stories associated to a peer">
Name
Type
Description
flags
#
Flags, see TL conditional fields
peer
Peer
 
max_read_id
flags.0?int
 
stories…">
<meta property="og:title" content="peerStories"> <meta property="og:title" content="peerStories">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="Stories associated to a peer">
Name
Type
Description
flags
#
Flags, see TL conditional fields
peer
Peer
 
max_read_id
flags.0?int
 
stories…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <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="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="32x32" href="/img/favicon-32x32.png">
@ -68,7 +42,8 @@ stories…">
<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><a href="/constructor/peerStories" >peerStories</a></li></ul></div> <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><a href="/constructor/peerStories" >peerStories</a></li></ul></div>
<h1 id="dev_page_title">peerStories</h1> <h1 id="dev_page_title">peerStories</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p><a href="/api/stories">Stories</a> associated to a peer</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>
@ -99,22 +74,25 @@ stories…">
<tr> <tr>
<td><strong>peer</strong></td> <td><strong>peer</strong></td>
<td style="text-align: center;"><a href="/type/Peer">Peer</a></td> <td style="text-align: center;"><a href="/type/Peer">Peer</a></td>
<td> </td> <td>The peer</td>
</tr> </tr>
<tr> <tr>
<td><strong>max_read_id</strong></td> <td><strong>max_read_id</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/int">int</a></td> <td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/int">int</a></td>
<td> </td> <td>If set, contains the ID of the maximum read story</td>
</tr> </tr>
<tr> <tr>
<td><strong>stories</strong></td> <td><strong>stories</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/StoryItem">StoryItem</a>&gt;</td> <td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/StoryItem">StoryItem</a>&gt;</td>
<td> </td> <td>Stories</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3> <h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/PeerStories">PeerStories</a></p></div> <p><a href="/type/PeerStories">PeerStories</a></p>
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#stories" id="stories" name="stories"><i class="anchor-icon"></i></a><a href="/api/stories">Stories</a></h4>
<p>Telegram users and channels can easily post and view stories through the API.</p></div>
</div> </div>

View file

@ -4,16 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>privacyKeyAbout</title> <title>privacyKeyAbout</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="Whether people can see your bio">
This constructor does not require any parameters.
Type
PrivacyKey">
<meta property="og:title" content="privacyKeyAbout"> <meta property="og:title" content="privacyKeyAbout">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="Whether people can see your bio">
This constructor does not require any parameters.
Type
PrivacyKey">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <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="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="32x32" href="/img/favicon-32x32.png">
@ -48,7 +42,8 @@ PrivacyKey">
<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><a href="/constructor/privacyKeyAbout" >privacyKeyAbout</a></li></ul></div> <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><a href="/constructor/privacyKeyAbout" >privacyKeyAbout</a></li></ul></div>
<h1 id="dev_page_title">privacyKeyAbout</h1> <h1 id="dev_page_title">privacyKeyAbout</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>Whether people can see your bio</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>

View file

@ -4,16 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>privacyValueAllowCloseFriends</title> <title>privacyValueAllowCloseFriends</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="Allow only close friends »">
This constructor does not require any parameters.
Type
PrivacyRule">
<meta property="og:title" content="privacyValueAllowCloseFriends"> <meta property="og:title" content="privacyValueAllowCloseFriends">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="Allow only close friends »">
This constructor does not require any parameters.
Type
PrivacyRule">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <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="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="32x32" href="/img/favicon-32x32.png">
@ -48,7 +42,8 @@ PrivacyRule">
<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><a href="/constructor/privacyValueAllowCloseFriends" >privacyValueAllowCloseFriends</a></li></ul></div> <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><a href="/constructor/privacyValueAllowCloseFriends" >privacyValueAllowCloseFriends</a></li></ul></div>
<h1 id="dev_page_title">privacyValueAllowCloseFriends</h1> <h1 id="dev_page_title">privacyValueAllowCloseFriends</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>Allow only <a href="/api/privacy">close friends »</a></p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>
@ -64,7 +59,10 @@ PrivacyRule">
<h3><a class="anchor" href="#parameters" id="parameters" name="parameters"><i class="anchor-icon"></i></a>Parameters</h3> <h3><a class="anchor" href="#parameters" id="parameters" name="parameters"><i class="anchor-icon"></i></a>Parameters</h3>
<p>This constructor does not require any parameters.</p> <p>This constructor does not require any parameters.</p>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3> <h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/PrivacyRule">PrivacyRule</a></p></div> <p><a href="/type/PrivacyRule">PrivacyRule</a></p>
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#privacy" id="privacy" name="privacy"><i class="anchor-icon"></i></a><a href="/api/privacy">Privacy</a></h4>
<p>Telegram allows users to specify granular privacy settings, choosing which users can or can't interact with them in certain ways.</p></div>
</div> </div>

View file

@ -4,38 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>stories.allStories</title> <title>stories.allStories</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="Full list of active (or active and hidden) stories.">
Name
Type
Description
flags
#
Flags, see TL conditional fields
has_more
flags.0?true
 
count
int
 
state
string…">
<meta property="og:title" content="stories.allStories"> <meta property="og:title" content="stories.allStories">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="Full list of active (or active and hidden) stories.">
Name
Type
Description
flags
#
Flags, see TL conditional fields
has_more
flags.0?true
 
count
int
 
state
string…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <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="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="32x32" href="/img/favicon-32x32.png">
@ -70,7 +42,8 @@ string…">
<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><a href="/constructor/stories.allStories" >stories.allStories</a></li></ul></div> <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><a href="/constructor/stories.allStories" >stories.allStories</a></li></ul></div>
<h1 id="dev_page_title">stories.allStories</h1> <h1 id="dev_page_title">stories.allStories</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>Full list of active (or active and hidden) <a href="/api/stories#watching-stories">stories</a>.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>
@ -101,42 +74,45 @@ string…">
<tr> <tr>
<td><strong>has_more</strong></td> <td><strong>has_more</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/constructor/true">true</a></td> <td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/constructor/true">true</a></td>
<td> </td> <td>Whether more results can be fetched as <a href="/api/stories#watching-stories">described here »</a>.</td>
</tr> </tr>
<tr> <tr>
<td><strong>count</strong></td> <td><strong>count</strong></td>
<td style="text-align: center;"><a href="/type/int">int</a></td> <td style="text-align: center;"><a href="/type/int">int</a></td>
<td> </td> <td>Total number of active (or active and hidden) stories</td>
</tr> </tr>
<tr> <tr>
<td><strong>state</strong></td> <td><strong>state</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td> <td style="text-align: center;"><a href="/type/string">string</a></td>
<td> </td> <td>State to use for pagination</td>
</tr> </tr>
<tr> <tr>
<td><strong>peer_stories</strong></td> <td><strong>peer_stories</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/PeerStories">PeerStories</a>&gt;</td> <td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/PeerStories">PeerStories</a>&gt;</td>
<td> </td> <td>Stories</td>
</tr> </tr>
<tr> <tr>
<td><strong>chats</strong></td> <td><strong>chats</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/Chat">Chat</a>&gt;</td> <td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/Chat">Chat</a>&gt;</td>
<td> </td> <td>Mentioned chats</td>
</tr> </tr>
<tr> <tr>
<td><strong>users</strong></td> <td><strong>users</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/User">User</a>&gt;</td> <td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/User">User</a>&gt;</td>
<td> </td> <td>Mentioned users</td>
</tr> </tr>
<tr> <tr>
<td><strong>stealth_mode</strong></td> <td><strong>stealth_mode</strong></td>
<td style="text-align: center;"><a href="/type/StoriesStealthMode">StoriesStealthMode</a></td> <td style="text-align: center;"><a href="/type/StoriesStealthMode">StoriesStealthMode</a></td>
<td> </td> <td>Current <a href="/api/stories#stealth-mode">stealth mode</a> information</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3> <h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/stories.AllStories">stories.AllStories</a></p></div> <p><a href="/type/stories.AllStories">stories.AllStories</a></p>
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#stories" id="stories" name="stories"><i class="anchor-icon"></i></a><a href="/api/stories">Stories</a></h4>
<p>Telegram users and channels can easily post and view stories through the API.</p></div>
</div> </div>

View file

@ -4,32 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>stories.allStoriesNotModified</title> <title>stories.allStoriesNotModified</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="The list of active (or active and hidden) stories has not changed.">
Name
Type
Description
flags
#
Flags, see TL conditional fields
state
string
 
stealth_mode
StoriesStealthMode…">
<meta property="og:title" content="stories.allStoriesNotModified"> <meta property="og:title" content="stories.allStoriesNotModified">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="The list of active (or active and hidden) stories has not changed.">
Name
Type
Description
flags
#
Flags, see TL conditional fields
state
string
 
stealth_mode
StoriesStealthMode…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <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="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="32x32" href="/img/favicon-32x32.png">
@ -64,7 +42,8 @@ StoriesStealthMode…">
<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><a href="/constructor/stories.allStoriesNotModified" >stories.allStoriesNotModified</a></li></ul></div> <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><a href="/constructor/stories.allStoriesNotModified" >stories.allStoriesNotModified</a></li></ul></div>
<h1 id="dev_page_title">stories.allStoriesNotModified</h1> <h1 id="dev_page_title">stories.allStoriesNotModified</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>The list of active (or active and hidden) <a href="/api/stories#watching-stories">stories</a> has not changed.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>
@ -95,17 +74,20 @@ StoriesStealthMode…">
<tr> <tr>
<td><strong>state</strong></td> <td><strong>state</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td> <td style="text-align: center;"><a href="/type/string">string</a></td>
<td> </td> <td>State to use to ask for updates</td>
</tr> </tr>
<tr> <tr>
<td><strong>stealth_mode</strong></td> <td><strong>stealth_mode</strong></td>
<td style="text-align: center;"><a href="/type/StoriesStealthMode">StoriesStealthMode</a></td> <td style="text-align: center;"><a href="/type/StoriesStealthMode">StoriesStealthMode</a></td>
<td> </td> <td>Current <a href="/api/stories#stealth-mode">stealth mode</a> information</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3> <h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/stories.AllStories">stories.AllStories</a></p></div> <p><a href="/type/stories.AllStories">stories.AllStories</a></p>
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#stories" id="stories" name="stories"><i class="anchor-icon"></i></a><a href="/api/stories">Stories</a></h4>
<p>Telegram users and channels can easily post and view stories through the API.</p></div>
</div> </div>

View file

@ -4,38 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>stories.peerStories</title> <title>stories.peerStories</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="Active story list of a specific peer.">
Name
Type
Description
stories
PeerStories
 
chats
Vector&lt;Chat&gt;
 
users
Vector&lt;User&gt;
 
Type
stories.PeerStories">
<meta property="og:title" content="stories.peerStories"> <meta property="og:title" content="stories.peerStories">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="Active story list of a specific peer.">
Name
Type
Description
stories
PeerStories
 
chats
Vector&lt;Chat&gt;
 
users
Vector&lt;User&gt;
 
Type
stories.PeerStories">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <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="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="32x32" href="/img/favicon-32x32.png">
@ -70,7 +42,8 @@ stories.PeerStories">
<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><a href="/constructor/stories.peerStories" >stories.peerStories</a></li></ul></div> <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><a href="/constructor/stories.peerStories" >stories.peerStories</a></li></ul></div>
<h1 id="dev_page_title">stories.peerStories</h1> <h1 id="dev_page_title">stories.peerStories</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p><a href="/api/stories#watching-stories">Active story list</a> of a specific peer.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>
@ -96,22 +69,25 @@ stories.PeerStories">
<tr> <tr>
<td><strong>stories</strong></td> <td><strong>stories</strong></td>
<td style="text-align: center;"><a href="/type/PeerStories">PeerStories</a></td> <td style="text-align: center;"><a href="/type/PeerStories">PeerStories</a></td>
<td> </td> <td>Stories</td>
</tr> </tr>
<tr> <tr>
<td><strong>chats</strong></td> <td><strong>chats</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/Chat">Chat</a>&gt;</td> <td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/Chat">Chat</a>&gt;</td>
<td> </td> <td>Mentioned chats</td>
</tr> </tr>
<tr> <tr>
<td><strong>users</strong></td> <td><strong>users</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/User">User</a>&gt;</td> <td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/User">User</a>&gt;</td>
<td> </td> <td>Mentioned users</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3> <h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/stories.PeerStories">stories.PeerStories</a></p></div> <p><a href="/type/stories.PeerStories">stories.PeerStories</a></p>
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#stories" id="stories" name="stories"><i class="anchor-icon"></i></a><a href="/api/stories">Stories</a></h4>
<p>Telegram users and channels can easily post and view stories through the API.</p></div>
</div> </div>

View file

@ -4,42 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>stories.stories</title> <title>stories.stories</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="List of stories">
Name
Type
Description
count
int
 
stories
Vector&lt;StoryItem&gt;
 
chats
Vector&lt;Chat&gt;
 
users
Vector&lt;User&gt;
 
Type…">
<meta property="og:title" content="stories.stories"> <meta property="og:title" content="stories.stories">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="List of stories">
Name
Type
Description
count
int
 
stories
Vector&lt;StoryItem&gt;
 
chats
Vector&lt;Chat&gt;
 
users
Vector&lt;User&gt;
 
Type…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <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="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="32x32" href="/img/favicon-32x32.png">
@ -74,7 +42,8 @@ Type…">
<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><a href="/constructor/stories.stories" >stories.stories</a></li></ul></div> <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><a href="/constructor/stories.stories" >stories.stories</a></li></ul></div>
<h1 id="dev_page_title">stories.stories</h1> <h1 id="dev_page_title">stories.stories</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>List of <a href="/api/stories#pinnedarchived-stories">stories</a></p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>
@ -100,27 +69,30 @@ Type…">
<tr> <tr>
<td><strong>count</strong></td> <td><strong>count</strong></td>
<td style="text-align: center;"><a href="/type/int">int</a></td> <td style="text-align: center;"><a href="/type/int">int</a></td>
<td> </td> <td>Total number of stories that can be fetched</td>
</tr> </tr>
<tr> <tr>
<td><strong>stories</strong></td> <td><strong>stories</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/StoryItem">StoryItem</a>&gt;</td> <td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/StoryItem">StoryItem</a>&gt;</td>
<td> </td> <td>Stories</td>
</tr> </tr>
<tr> <tr>
<td><strong>chats</strong></td> <td><strong>chats</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/Chat">Chat</a>&gt;</td> <td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/Chat">Chat</a>&gt;</td>
<td> </td> <td>Mentioned chats</td>
</tr> </tr>
<tr> <tr>
<td><strong>users</strong></td> <td><strong>users</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/User">User</a>&gt;</td> <td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/User">User</a>&gt;</td>
<td> </td> <td>Mentioned users</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3> <h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/stories.Stories">stories.Stories</a></p></div> <p><a href="/type/stories.Stories">stories.Stories</a></p>
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#stories" id="stories" name="stories"><i class="anchor-icon"></i></a><a href="/api/stories">Stories</a></h4>
<p>Telegram users and channels can easily post and view stories through the API.</p></div>
</div> </div>

View file

@ -4,32 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>stories.storyViews</title> <title>stories.storyViews</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="Reaction and view counters for a list of stories">
Name
Type
Description
views
Vector&lt;StoryViews&gt;
 
users
Vector&lt;User&gt;
 
Type
stories.StoryViews">
<meta property="og:title" content="stories.storyViews"> <meta property="og:title" content="stories.storyViews">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="Reaction and view counters for a list of stories">
Name
Type
Description
views
Vector&lt;StoryViews&gt;
 
users
Vector&lt;User&gt;
 
Type
stories.StoryViews">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <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="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="32x32" href="/img/favicon-32x32.png">
@ -64,7 +42,8 @@ stories.StoryViews">
<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><a href="/constructor/stories.storyViews" >stories.storyViews</a></li></ul></div> <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><a href="/constructor/stories.storyViews" >stories.storyViews</a></li></ul></div>
<h1 id="dev_page_title">stories.storyViews</h1> <h1 id="dev_page_title">stories.storyViews</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>Reaction and view counters for a list of <a href="/api/stories">stories</a></p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>
@ -90,17 +69,20 @@ stories.StoryViews">
<tr> <tr>
<td><strong>views</strong></td> <td><strong>views</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/StoryViews">StoryViews</a>&gt;</td> <td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/StoryViews">StoryViews</a>&gt;</td>
<td> </td> <td>View date and reaction information of multiple stories</td>
</tr> </tr>
<tr> <tr>
<td><strong>users</strong></td> <td><strong>users</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/User">User</a>&gt;</td> <td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/User">User</a>&gt;</td>
<td> </td> <td>Mentioned users</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3> <h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/stories.StoryViews">stories.StoryViews</a></p></div> <p><a href="/type/stories.StoryViews">stories.StoryViews</a></p>
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#stories" id="stories" name="stories"><i class="anchor-icon"></i></a><a href="/api/stories">Stories</a></h4>
<p>Telegram users and channels can easily post and view stories through the API.</p></div>
</div> </div>

View file

@ -4,38 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>stories.storyViewsList</title> <title>stories.storyViewsList</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="Reaction and view counters for a story">
Name
Type
Description
flags
#
Flags, see TL conditional fields
count
int
 
reactions_count
int
 
views
Vector&lt;StoryView&gt;…">
<meta property="og:title" content="stories.storyViewsList"> <meta property="og:title" content="stories.storyViewsList">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="Reaction and view counters for a story">
Name
Type
Description
flags
#
Flags, see TL conditional fields
count
int
 
reactions_count
int
 
views
Vector&lt;StoryView&gt;…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <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="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="32x32" href="/img/favicon-32x32.png">
@ -70,7 +42,8 @@ Vector&lt;StoryView&gt;…">
<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><a href="/constructor/stories.storyViewsList" >stories.storyViewsList</a></li></ul></div> <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><a href="/constructor/stories.storyViewsList" >stories.storyViewsList</a></li></ul></div>
<h1 id="dev_page_title">stories.storyViewsList</h1> <h1 id="dev_page_title">stories.storyViewsList</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>Reaction and view counters for a <a href="/api/stories">story</a></p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>
@ -101,7 +74,7 @@ Vector&lt;StoryView&gt;…">
<tr> <tr>
<td><strong>count</strong></td> <td><strong>count</strong></td>
<td style="text-align: center;"><a href="/type/int">int</a></td> <td style="text-align: center;"><a href="/type/int">int</a></td>
<td> </td> <td>Total number of results that can be fetched</td>
</tr> </tr>
<tr> <tr>
<td><strong>reactions_count</strong></td> <td><strong>reactions_count</strong></td>
@ -111,22 +84,25 @@ Vector&lt;StoryView&gt;…">
<tr> <tr>
<td><strong>views</strong></td> <td><strong>views</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/StoryView">StoryView</a>&gt;</td> <td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/StoryView">StoryView</a>&gt;</td>
<td> </td> <td>Story view date and reaction information</td>
</tr> </tr>
<tr> <tr>
<td><strong>users</strong></td> <td><strong>users</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/User">User</a>&gt;</td> <td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/User">User</a>&gt;</td>
<td> </td> <td>Mentioned users</td>
</tr> </tr>
<tr> <tr>
<td><strong>next_offset</strong></td> <td><strong>next_offset</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/string">string</a></td> <td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/string">string</a></td>
<td> </td> <td>Offset for pagination</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3> <h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/stories.StoryViewsList">stories.StoryViewsList</a></p></div> <p><a href="/type/stories.StoryViewsList">stories.StoryViewsList</a></p>
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#stories" id="stories" name="stories"><i class="anchor-icon"></i></a><a href="/api/stories">Stories</a></h4>
<p>Telegram users and channels can easily post and view stories through the API.</p></div>
</div> </div>

View file

@ -74,12 +74,12 @@
<tr> <tr>
<td><strong>pinned</strong></td> <td><strong>pinned</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.5?<a href="/constructor/true">true</a></td> <td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.5?<a href="/constructor/true">true</a></td>
<td> </td> <td>Whether this story is pinned on the user's profile</td>
</tr> </tr>
<tr> <tr>
<td><strong>public</strong></td> <td><strong>public</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.7?<a href="/constructor/true">true</a></td> <td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.7?<a href="/constructor/true">true</a></td>
<td> </td> <td>Whether this story is public</td>
</tr> </tr>
<tr> <tr>
<td><strong>close_friends</strong></td> <td><strong>close_friends</strong></td>
@ -154,12 +154,12 @@
<tr> <tr>
<td><strong>privacy</strong></td> <td><strong>privacy</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/PrivacyRule">PrivacyRule</a>&gt;</td> <td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/PrivacyRule">PrivacyRule</a>&gt;</td>
<td> </td> <td><a href="/api/privacy">Privacy rules</a> indicating who can and can't view this story</td>
</tr> </tr>
<tr> <tr>
<td><strong>views</strong></td> <td><strong>views</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/type/StoryViews">StoryViews</a></td> <td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/type/StoryViews">StoryViews</a></td>
<td> </td> <td>View date and reaction information</td>
</tr> </tr>
<tr> <tr>
<td><strong>sent_reaction</strong></td> <td><strong>sent_reaction</strong></td>
@ -174,7 +174,9 @@
<h4><a class="anchor" href="#styled-text-with-message-entities" id="styled-text-with-message-entities" name="styled-text-with-message-entities"><i class="anchor-icon"></i></a><a href="/api/entities">Styled text with message entities</a></h4> <h4><a class="anchor" href="#styled-text-with-message-entities" id="styled-text-with-message-entities" name="styled-text-with-message-entities"><i class="anchor-icon"></i></a><a href="/api/entities">Styled text with message entities</a></h4>
<p>How to create styled text with message entities</p> <p>How to create styled text with message entities</p>
<h4><a class="anchor" href="#stories" id="stories" name="stories"><i class="anchor-icon"></i></a><a href="/api/stories">Stories</a></h4> <h4><a class="anchor" href="#stories" id="stories" name="stories"><i class="anchor-icon"></i></a><a href="/api/stories">Stories</a></h4>
<p>Telegram users and channels can easily post and view stories through the API.</p></div> <p>Telegram users and channels can easily post and view stories through the API.</p>
<h4><a class="anchor" href="#privacy" id="privacy" name="privacy"><i class="anchor-icon"></i></a><a href="/api/privacy">Privacy</a></h4>
<p>Telegram allows users to specify granular privacy settings, choosing which users can or can't interact with them in certain ways.</p></div>
</div> </div>

View file

@ -133,6 +133,7 @@
<h4><a class="anchor" href="#contacts" id="contacts" name="contacts"><i class="anchor-icon"></i></a><a href="/api/contacts">Contacts</a></h4> <h4><a class="anchor" href="#contacts" id="contacts" name="contacts"><i class="anchor-icon"></i></a><a href="/api/contacts">Contacts</a></h4>
<p>Working with contacts.</p> <p>Working with contacts.</p>
<h4><a class="anchor" href="#storiesstoryviewslist" id="storiesstoryviewslist" name="storiesstoryviewslist"><i class="anchor-icon"></i></a><a href="/constructor/stories.storyViewsList">stories.storyViewsList</a></h4> <h4><a class="anchor" href="#storiesstoryviewslist" id="storiesstoryviewslist" name="storiesstoryviewslist"><i class="anchor-icon"></i></a><a href="/constructor/stories.storyViewsList">stories.storyViewsList</a></h4>
<p>Reaction and view counters for a <a href="/api/stories">story</a></p>
<h4><a class="anchor" href="#pagination-in-the-api" id="pagination-in-the-api" name="pagination-in-the-api"><i class="anchor-icon"></i></a><a href="/api/offsets">Pagination in the API</a></h4> <h4><a class="anchor" href="#pagination-in-the-api" id="pagination-in-the-api" name="pagination-in-the-api"><i class="anchor-icon"></i></a><a href="/api/offsets">Pagination in the API</a></h4>
<p>How to fetch results from large lists of objects.</p> <p>How to fetch results from large lists of objects.</p>
<h4><a class="anchor" href="#stories" id="stories" name="stories"><i class="anchor-icon"></i></a><a href="/api/stories">Stories</a></h4> <h4><a class="anchor" href="#stories" id="stories" name="stories"><i class="anchor-icon"></i></a><a href="/api/stories">Stories</a></h4>

View file

@ -53,9 +53,9 @@
<h5><a class="anchor" href="#1-client-sends-query-to-server" id="1-client-sends-query-to-server" name="1-client-sends-query-to-server"><i class="anchor-icon"></i></a>1) Client sends query to server</h5> <h5><a class="anchor" href="#1-client-sends-query-to-server" id="1-client-sends-query-to-server" name="1-client-sends-query-to-server"><i class="anchor-icon"></i></a>1) Client sends query to server</h5>
<!-- start req_pq_multi --> <!-- start req_pq_multi -->
<p>Sent payload (excluding transport headers/trailers):</p> <p>Sent payload (excluding transport headers/trailers):</p>
<pre><code>0000 | 00 00 00 00 00 00 00 00 64 7F 0C 00 B8 90 52 65 <pre><code>0000 | 00 00 00 00 00 00 00 00 54 F3 0C 00 47 E1 53 65
0010 | 14 00 00 00 F1 8E 7E BE 26 BD 66 FA AC 98 75 CF 0010 | 14 00 00 00 F1 8E 7E BE C1 14 9F E5 F9 AE 1D E6
0020 | CE 27 A5 E6 95 9E E5 87</code></pre> 0020 | F9 70 7B F1 87 27 3F E6</code></pre>
<p>Payload (de)serialization:</p> <p>Payload (de)serialization:</p>
<pre><code>req_pq_multi#be7e8ef1 nonce:int128 = ResPQ;</code></pre> <pre><code>req_pq_multi#be7e8ef1 nonce:int128 = ResPQ;</code></pre>
<table class="table"> <table class="table">
@ -77,7 +77,7 @@
<tr> <tr>
<td>message_id</td> <td>message_id</td>
<td>8, 8</td> <td>8, 8</td>
<td><code>647F0C00B8905265</code></td> <td><code>54F30C0047E15365</code></td>
<td>Message ID generated as specified <a href="/mtproto/description#message-identifier-msg-id">here »</a> (unixtime() &lt;&lt; 32) + (N*4)</td> <td>Message ID generated as specified <a href="/mtproto/description#message-identifier-msg-id">here »</a> (unixtime() &lt;&lt; 32) + (N*4)</td>
</tr> </tr>
<tr> <tr>
@ -95,7 +95,7 @@
<tr> <tr>
<td>nonce</td> <td>nonce</td>
<td>24, 16</td> <td>24, 16</td>
<td><code>26BD66FAAC9875CFCE27A5E6959EE587</code></td> <td><code>C1149FE5F9AE1DE6F9707BF187273FE6</code></td>
<td>Random number</td> <td>Random number</td>
</tr> </tr>
</tbody> </tbody>
@ -104,11 +104,11 @@
<h5><a class="anchor" href="#2-server-sends-response-of-the-form" id="2-server-sends-response-of-the-form" name="2-server-sends-response-of-the-form"><i class="anchor-icon"></i></a>2) Server sends response of the form</h5> <h5><a class="anchor" href="#2-server-sends-response-of-the-form" id="2-server-sends-response-of-the-form" name="2-server-sends-response-of-the-form"><i class="anchor-icon"></i></a>2) Server sends response of the form</h5>
<!-- start resPQ --> <!-- start resPQ -->
<p>Received payload (excluding transport headers/trailers):</p> <p>Received payload (excluding transport headers/trailers):</p>
<pre><code>0000 | 00 00 00 00 00 00 00 00 01 28 E8 29 B8 90 52 65 <pre><code>0000 | 00 00 00 00 00 00 00 00 01 EC 08 F5 47 E1 53 65
0010 | 54 00 00 00 63 24 16 05 26 BD 66 FA AC 98 75 CF 0010 | 98 00 00 00 63 24 16 05 C1 14 9F E5 F9 AE 1D E6
0020 | CE 27 A5 E6 95 9E E5 87 B2 1E 98 5D 3E C9 B7 EC 0020 | F9 70 7B F1 87 27 3F E6 AE 0B D3 44 AD A9 1E A2
0030 | D5 D4 83 29 13 BE 69 12 08 17 BE 00 0F E7 15 EC 0030 | E6 CF DD 57 46 53 37 E4 08 22 B7 00 AC DB 1A 68
0040 | C9 00 00 00 15 C4 B5 1C 03 00 00 00 A5 B7 F7 09 0040 | 0B 00 00 00 15 C4 B5 1C 03 00 00 00 A5 B7 F7 09
0050 | 35 5F C3 0B 21 6B E8 6C 02 2B B4 C3 85 FD 64 DE 0050 | 35 5F C3 0B 21 6B E8 6C 02 2B B4 C3 85 FD 64 DE
0060 | 85 1D 9D D0</code></pre> 0060 | 85 1D 9D D0</code></pre>
<p>Payload (de)serialization:</p> <p>Payload (de)serialization:</p>
@ -132,13 +132,13 @@
<tr> <tr>
<td>message_id</td> <td>message_id</td>
<td>8, 8</td> <td>8, 8</td>
<td><code>0128E829B8905265</code></td> <td><code>01EC08F547E15365</code></td>
<td>Message ID generated as specified <a href="/mtproto/description#message-identifier-msg-id">here »</a> (unixtime() &lt;&lt; 32) + (N*4)</td> <td>Message ID generated as specified <a href="/mtproto/description#message-identifier-msg-id">here »</a> (unixtime() &lt;&lt; 32) + (N*4)</td>
</tr> </tr>
<tr> <tr>
<td>message_length</td> <td>message_length</td>
<td>16, 4</td> <td>16, 4</td>
<td><code>54000000</code> (84 in decimal)</td> <td><code>98000000</code> (152 in decimal)</td>
<td>Message body length</td> <td>Message body length</td>
</tr> </tr>
<tr> <tr>
@ -150,19 +150,19 @@
<tr> <tr>
<td>nonce</td> <td>nonce</td>
<td>24, 16</td> <td>24, 16</td>
<td><code>26BD66FAAC9875CFCE27A5E6959EE587</code></td> <td><code>C1149FE5F9AE1DE6F9707BF187273FE6</code></td>
<td>Value generated by client in Step 1</td> <td>Value generated by client in Step 1</td>
</tr> </tr>
<tr> <tr>
<td>server_nonce</td> <td>server_nonce</td>
<td>40, 16</td> <td>40, 16</td>
<td><code>B21E985D3EC9B7ECD5D4832913BE6912</code></td> <td><code>AE0BD344ADA91EA2E6CFDD57465337E4</code></td>
<td>Server-generated random number</td> <td>Server-generated random number</td>
</tr> </tr>
<tr> <tr>
<td>pq</td> <td>pq</td>
<td>56, 12</td> <td>56, 12</td>
<td><code>0817BE000FE715ECC9000000</code><br>TL byte deserialization <br>=&gt; bigendian conversion to decimal<br>=&gt; 1710804976748850377</td> <td><code>0822B700ACDB1A680B000000</code><br>TL byte deserialization <br>=&gt; bigendian conversion to decimal<br>=&gt; 2501468860437915659</td>
<td>Single-byte prefix denoting length, an 8-byte string, and three bytes of padding</td> <td>Single-byte prefix denoting length, an 8-byte string, and three bytes of padding</td>
</tr> </tr>
<tr> <tr>
@ -208,22 +208,22 @@
<h4><a class="anchor" href="#proof-of-work" id="proof-of-work" name="proof-of-work"><i class="anchor-icon"></i></a>Proof of work</h4> <h4><a class="anchor" href="#proof-of-work" id="proof-of-work" name="proof-of-work"><i class="anchor-icon"></i></a>Proof of work</h4>
<h5><a class="anchor" href="#3-client-decomposes-pq-into-prime-factors-such-that-p--q" id="3-client-decomposes-pq-into-prime-factors-such-that-p--q" name="3-client-decomposes-pq-into-prime-factors-such-that-p--q"><i class="anchor-icon"></i></a>3) Client decomposes pq into prime factors such that p &lt; q.</h5> <h5><a class="anchor" href="#3-client-decomposes-pq-into-prime-factors-such-that-p--q" id="3-client-decomposes-pq-into-prime-factors-such-that-p--q" name="3-client-decomposes-pq-into-prime-factors-such-that-p--q"><i class="anchor-icon"></i></a>3) Client decomposes pq into prime factors such that p &lt; q.</h5>
<!-- start pq --> <!-- start pq -->
<pre><code>pq = 1710804976748850377</code></pre> <pre><code>pq = 2501468860437915659</code></pre>
<p>Decompose into 2 prime cofactors <code>p &lt; q</code>: <code>1710804976748850377 = 1147566131 * 1490811667</code></p> <p>Decompose into 2 prime cofactors <code>p &lt; q</code>: <code>2501468860437915659 = 1290516503 * 1938347053</code></p>
<pre><code>p = 1147566131 <pre><code>p = 1290516503
q = 1490811667</code></pre> q = 1938347053</code></pre>
<!-- end pq --> <!-- end pq -->
<h4><a class="anchor" href="#presenting-proof-of-work-server-authentication" id="presenting-proof-of-work-server-authentication" name="presenting-proof-of-work-server-authentication"><i class="anchor-icon"></i></a>Presenting proof of work; Server authentication</h4> <h4><a class="anchor" href="#presenting-proof-of-work-server-authentication" id="presenting-proof-of-work-server-authentication" name="presenting-proof-of-work-server-authentication"><i class="anchor-icon"></i></a>Presenting proof of work; Server authentication</h4>
<h5><a class="anchor" href="#4-encrypted-data-payload-generation" id="4-encrypted-data-payload-generation" name="4-encrypted-data-payload-generation"><i class="anchor-icon"></i></a>4) <code>encrypted_data</code> payload generation</h5> <h5><a class="anchor" href="#4-encrypted-data-payload-generation" id="4-encrypted-data-payload-generation" name="4-encrypted-data-payload-generation"><i class="anchor-icon"></i></a>4) <code>encrypted_data</code> payload generation</h5>
<p>First of all, generate an <code>encrypted_data</code> payload as follows:</p> <p>First of all, generate an <code>encrypted_data</code> payload as follows:</p>
<!-- start p_q_inner_data_dc --> <!-- start p_q_inner_data_dc -->
<p>Generated payload (excluding transport headers/trailers):</p> <p>Generated payload (excluding transport headers/trailers):</p>
<pre><code>0000 | 95 5F F5 A9 08 17 BE 00 0F E7 15 EC C9 00 00 00 <pre><code>0000 | 95 5F F5 A9 08 22 B7 00 AC DB 1A 68 0B 00 00 00
0010 | 04 44 66 78 33 00 00 00 04 58 DB FB 13 00 00 00 0010 | 04 4C EB B8 17 00 00 00 04 73 88 D4 2D 00 00 00
0020 | 26 BD 66 FA AC 98 75 CF CE 27 A5 E6 95 9E E5 87 0020 | C1 14 9F E5 F9 AE 1D E6 F9 70 7B F1 87 27 3F E6
0030 | B2 1E 98 5D 3E C9 B7 EC D5 D4 83 29 13 BE 69 12 0030 | AE 0B D3 44 AD A9 1E A2 E6 CF DD 57 46 53 37 E4
0040 | D5 E3 E5 8D 12 5A 7D 82 04 FA C5 DF CE 2F 6D 1B 0040 | 81 ED 7C DB 88 87 9E F6 36 F2 3A F4 28 35 1A 58
0050 | BB 81 12 0C 8F 48 C9 16 B5 FB 55 EF 10 DA 1E 13 0050 | 4C 01 28 2A B6 BC E8 DE 66 B8 1A 9A A8 9A D0 3F
0060 | 02 00 00 00</code></pre> 0060 | 02 00 00 00</code></pre>
<p>Payload (de)serialization:</p> <p>Payload (de)serialization:</p>
<pre><code>p_q_inner_data_dc#a9f55f95 pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 dc:int = P_Q_inner_data;</code></pre> <pre><code>p_q_inner_data_dc#a9f55f95 pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 dc:int = P_Q_inner_data;</code></pre>
@ -246,37 +246,37 @@ q = 1490811667</code></pre>
<tr> <tr>
<td>pq</td> <td>pq</td>
<td>4, 12</td> <td>4, 12</td>
<td><code>0817BE000FE715ECC9000000</code><br>TL byte deserialization <br>=&gt; bigendian conversion to decimal<br>=&gt; 1710804976748850377</td> <td><code>0822B700ACDB1A680B000000</code><br>TL byte deserialization <br>=&gt; bigendian conversion to decimal<br>=&gt; 2501468860437915659</td>
<td>Single-byte prefix denoting length, 8-byte string, and three bytes of padding</td> <td>Single-byte prefix denoting length, 8-byte string, and three bytes of padding</td>
</tr> </tr>
<tr> <tr>
<td>p</td> <td>p</td>
<td>16, 8</td> <td>16, 8</td>
<td><code>0444667833000000</code><br>TL byte deserialization <br>=&gt; bigendian conversion to decimal<br>=&gt; 1147566131</td> <td><code>044CEBB817000000</code><br>TL byte deserialization <br>=&gt; bigendian conversion to decimal<br>=&gt; 1290516503</td>
<td>First prime cofactor: single-byte prefix denoting length, 4-byte string, and three bytes of padding</td> <td>First prime cofactor: single-byte prefix denoting length, 4-byte string, and three bytes of padding</td>
</tr> </tr>
<tr> <tr>
<td>q</td> <td>q</td>
<td>24, 8</td> <td>24, 8</td>
<td><code>0458DBFB13000000</code><br>TL byte deserialization <br>=&gt; bigendian conversion to decimal<br>=&gt; 1490811667</td> <td><code>047388D42D000000</code><br>TL byte deserialization <br>=&gt; bigendian conversion to decimal<br>=&gt; 1938347053</td>
<td>Second prime cofactor: single-byte prefix denoting length, 4-byte string, and three bytes of padding</td> <td>Second prime cofactor: single-byte prefix denoting length, 4-byte string, and three bytes of padding</td>
</tr> </tr>
<tr> <tr>
<td>nonce</td> <td>nonce</td>
<td>32, 16</td> <td>32, 16</td>
<td><code>26BD66FAAC9875CFCE27A5E6959EE587</code></td> <td><code>C1149FE5F9AE1DE6F9707BF187273FE6</code></td>
<td>Value generated by client in Step 1</td> <td>Value generated by client in Step 1</td>
</tr> </tr>
<tr> <tr>
<td>server_nonce</td> <td>server_nonce</td>
<td>48, 16</td> <td>48, 16</td>
<td><code>B21E985D3EC9B7ECD5D4832913BE6912</code></td> <td><code>AE0BD344ADA91EA2E6CFDD57465337E4</code></td>
<td>Value received from server in Step 2</td> <td>Value received from server in Step 2</td>
</tr> </tr>
<tr> <tr>
<td>new_nonce</td> <td>new_nonce</td>
<td>64, 32</td> <td>64, 32</td>
<td><code>D5E3E58D125A7D8204FAC5DFCE2F6D1B</code> <code>BB81120C8F48C916B5FB55EF10DA1E13</code></td> <td><code>81ED7CDB88879EF636F23AF428351A58</code> <code>4C01282AB6BCE8DE66B81A9AA89AD03F</code></td>
<td>Client-generated random number</td> <td>Client-generated random number</td>
</tr> </tr>
<tr> <tr>
@ -291,39 +291,39 @@ q = 1490811667</code></pre>
<p>The serialization of <em>P_Q_inner_data</em> produces <strong>data</strong>, which is used to generate <strong>encrypted_data</strong> as specified in <a href="/mtproto/auth_key">step 4.1</a>.<br> <p>The serialization of <em>P_Q_inner_data</em> produces <strong>data</strong>, which is used to generate <strong>encrypted_data</strong> as specified in <a href="/mtproto/auth_key">step 4.1</a>.<br>
These are the inputs to the algorithm specified in <a href="/mtproto/auth_key">step 4.1</a>:</p> These are the inputs to the algorithm specified in <a href="/mtproto/auth_key">step 4.1</a>:</p>
<!-- start p_q_inner_data_input --> <!-- start p_q_inner_data_input -->
<pre><code>data = 955FF5A90817BE000FE715ECC900000004446678330000000458DBFB1300000026BD66FAAC9875CFCE27A5E6959EE587B21E985D3EC9B7ECD5D4832913BE6912D5E3E58D125A7D8204FAC5DFCE2F6D1BBB81120C8F48C916B5FB55EF10DA1E1302000000 <pre><code>data = 955FF5A90822B700ACDB1A680B000000044CEBB817000000047388D42D000000C1149FE5F9AE1DE6F9707BF187273FE6AE0BD344ADA91EA2E6CFDD57465337E481ED7CDB88879EF636F23AF428351A584C01282AB6BCE8DE66B81A9AA89AD03F02000000
random_padding_bytes = 4294371FBDE2286C0BE7C7D2E19DC02EBBB2B7084337D957AE220B9BF9549FA36E5330C5E087DA1865E2334BE0DB8BDCCA8272B1A668A492665C71AE04CBBA6DC95614E8A01B173FF9CB943051B717F02B5786794D45AE92D7B90589</code></pre> random_padding_bytes = 8CF8CE4E191AF022190ECD0D6D03F2CA22AB992DAE5289644A79084907E66BE4964E608E2AFD37C358466313DCD99347BBF0A5D4DBBF3947A8FBC38CA3E26634206E073776AB164067EE3D8CAFBB3965A9D0CAE2473749727132EA6F</code></pre>
<!-- end p_q_inner_data_input --> <!-- end p_q_inner_data_input -->
<p>And this is the output:</p> <p>And this is the output:</p>
<!-- start p_q_inner_data_output --> <!-- start p_q_inner_data_output -->
<pre><code>encrypted_data = B2386EF5D858F165C6531D7F4C66DE3724DBB740BCCA82E3FEF64582E4DDD7D637C42793B010600F8D8B880412BA8F09129B3AD20F76659A8932B418C90FC409290A0973821E7004822BD20D8B1DF50C755D6095847F8F79266D96C1D6C6A0D52C871A5F1D5F310A97F71FD211CC6293EA28AE9239BCA18FB51ECF3C950F3467415B35E97CC3CA849275955B63077911E564673955A0E58E0698323F9B9496612911E0D607C3C1AFB174A0B7B6619B969505CEFD45F42705B2439397B572CCEB16B47CD817D67B6C137B079CDFC09AF4FCC53E30DC4B7375FF6E9BA2738DE09B20500D0695084F89EDCC8D689C160ACAAF89AF406DA09AD8BF1765B5CE2B603F</code></pre> <pre><code>encrypted_data = 5D827F84130191D774B0646DBA7A0122D4EA18D1E83606E00629767D2DAE50E77EE357CD081C675CD29E42139D033024F0E04AF7911FB43C93FDBB2578AAB5DB345FF08657C8D693B404A11E2C985C7B289F036F2C260B0C2DA8C6FFD649AFD52A4BEACCEBC232590F75285222CA8A26A3574CEB122D77C645B43D88DE64474B0CC06162539D8D1334CA34B3325B70AC5F361D34EDAE3737005FD248E354EEE9860BBCB24E0476F99543B363584AAC31A0C95C4763C103DC42D2D09DBA540591D988EB6DFD3D3D84CBFACFBF29E63FE95F7F4CDCFDC4F934F131446CA25B4F76C1F589121E814208E1DAC2DA74CA44EA0124E22CC3752508706ABFAFE85B6921</code></pre>
<!-- end p_q_inner_data_output --> <!-- end p_q_inner_data_output -->
<p>The length of the final string is 256 bytes.</p> <p>The length of the final string is 256 bytes.</p>
<h5><a class="anchor" href="#5-send-req-dh-params-query-with-generated-encrypted-data" id="5-send-req-dh-params-query-with-generated-encrypted-data" name="5-send-req-dh-params-query-with-generated-encrypted-data"><i class="anchor-icon"></i></a>5) Send req_DH_params query with generated <code>encrypted_data</code></h5> <h5><a class="anchor" href="#5-send-req-dh-params-query-with-generated-encrypted-data" id="5-send-req-dh-params-query-with-generated-encrypted-data" name="5-send-req-dh-params-query-with-generated-encrypted-data"><i class="anchor-icon"></i></a>5) Send req_DH_params query with generated <code>encrypted_data</code></h5>
<!-- start req_DH_params --> <!-- start req_DH_params -->
<p>Sent payload (excluding transport headers/trailers):</p> <p>Sent payload (excluding transport headers/trailers):</p>
<pre><code>0000 | 00 00 00 00 00 00 00 00 68 7F 0C 00 B8 90 52 65 <pre><code>0000 | 00 00 00 00 00 00 00 00 D8 6C 04 00 48 E1 53 65
0010 | 40 01 00 00 BE E4 12 D7 26 BD 66 FA AC 98 75 CF 0010 | 40 01 00 00 BE E4 12 D7 C1 14 9F E5 F9 AE 1D E6
0020 | CE 27 A5 E6 95 9E E5 87 B2 1E 98 5D 3E C9 B7 EC 0020 | F9 70 7B F1 87 27 3F E6 AE 0B D3 44 AD A9 1E A2
0030 | D5 D4 83 29 13 BE 69 12 04 44 66 78 33 00 00 00 0030 | E6 CF DD 57 46 53 37 E4 04 4C EB B8 17 00 00 00
0040 | 04 58 DB FB 13 00 00 00 85 FD 64 DE 85 1D 9D D0 0040 | 04 73 88 D4 2D 00 00 00 85 FD 64 DE 85 1D 9D D0
0050 | FE 00 01 00 B2 38 6E F5 D8 58 F1 65 C6 53 1D 7F 0050 | FE 00 01 00 5D 82 7F 84 13 01 91 D7 74 B0 64 6D
0060 | 4C 66 DE 37 24 DB B7 40 BC CA 82 E3 FE F6 45 82 0060 | BA 7A 01 22 D4 EA 18 D1 E8 36 06 E0 06 29 76 7D
0070 | E4 DD D7 D6 37 C4 27 93 B0 10 60 0F 8D 8B 88 04 0070 | 2D AE 50 E7 7E E3 57 CD 08 1C 67 5C D2 9E 42 13
0080 | 12 BA 8F 09 12 9B 3A D2 0F 76 65 9A 89 32 B4 18 0080 | 9D 03 30 24 F0 E0 4A F7 91 1F B4 3C 93 FD BB 25
0090 | C9 0F C4 09 29 0A 09 73 82 1E 70 04 82 2B D2 0D 0090 | 78 AA B5 DB 34 5F F0 86 57 C8 D6 93 B4 04 A1 1E
00A0 | 8B 1D F5 0C 75 5D 60 95 84 7F 8F 79 26 6D 96 C1 00A0 | 2C 98 5C 7B 28 9F 03 6F 2C 26 0B 0C 2D A8 C6 FF
00B0 | D6 C6 A0 D5 2C 87 1A 5F 1D 5F 31 0A 97 F7 1F D2 00B0 | D6 49 AF D5 2A 4B EA CC EB C2 32 59 0F 75 28 52
00C0 | 11 CC 62 93 EA 28 AE 92 39 BC A1 8F B5 1E CF 3C 00C0 | 22 CA 8A 26 A3 57 4C EB 12 2D 77 C6 45 B4 3D 88
00D0 | 95 0F 34 67 41 5B 35 E9 7C C3 CA 84 92 75 95 5B 00D0 | DE 64 47 4B 0C C0 61 62 53 9D 8D 13 34 CA 34 B3
00E0 | 63 07 79 11 E5 64 67 39 55 A0 E5 8E 06 98 32 3F 00E0 | 32 5B 70 AC 5F 36 1D 34 ED AE 37 37 00 5F D2 48
00F0 | 9B 94 96 61 29 11 E0 D6 07 C3 C1 AF B1 74 A0 B7 00F0 | E3 54 EE E9 86 0B BC B2 4E 04 76 F9 95 43 B3 63
0100 | B6 61 9B 96 95 05 CE FD 45 F4 27 05 B2 43 93 97 0100 | 58 4A AC 31 A0 C9 5C 47 63 C1 03 DC 42 D2 D0 9D
0110 | B5 72 CC EB 16 B4 7C D8 17 D6 7B 6C 13 7B 07 9C 0110 | BA 54 05 91 D9 88 EB 6D FD 3D 3D 84 CB FA CF BF
0120 | DF C0 9A F4 FC C5 3E 30 DC 4B 73 75 FF 6E 9B A2 0120 | 29 E6 3F E9 5F 7F 4C DC FD C4 F9 34 F1 31 44 6C
0130 | 73 8D E0 9B 20 50 0D 06 95 08 4F 89 ED CC 8D 68 0130 | A2 5B 4F 76 C1 F5 89 12 1E 81 42 08 E1 DA C2 DA
0140 | 9C 16 0A CA AF 89 AF 40 6D A0 9A D8 BF 17 65 B5 0140 | 74 CA 44 EA 01 24 E2 2C C3 75 25 08 70 6A BF AF
0150 | CE 2B 60 3F</code></pre> 0150 | E8 5B 69 21</code></pre>
<p>Payload (de)serialization:</p> <p>Payload (de)serialization:</p>
<pre><code>req_DH_params#d712e4be nonce:int128 server_nonce:int128 p:string q:string public_key_fingerprint:long encrypted_data:string = Server_DH_Params;</code></pre> <pre><code>req_DH_params#d712e4be nonce:int128 server_nonce:int128 p:string q:string public_key_fingerprint:long encrypted_data:string = Server_DH_Params;</code></pre>
<table class="table"> <table class="table">
@ -345,7 +345,7 @@ random_padding_bytes = 4294371FBDE2286C0BE7C7D2E19DC02EBBB2B7084337D957AE220B9BF
<tr> <tr>
<td>message_id</td> <td>message_id</td>
<td>8, 8</td> <td>8, 8</td>
<td><code>687F0C00B8905265</code></td> <td><code>D86C040048E15365</code></td>
<td>Message ID generated as specified <a href="/mtproto/description#message-identifier-msg-id">here »</a> (unixtime() &lt;&lt; 32) + (N*4)</td> <td>Message ID generated as specified <a href="/mtproto/description#message-identifier-msg-id">here »</a> (unixtime() &lt;&lt; 32) + (N*4)</td>
</tr> </tr>
<tr> <tr>
@ -363,25 +363,25 @@ random_padding_bytes = 4294371FBDE2286C0BE7C7D2E19DC02EBBB2B7084337D957AE220B9BF
<tr> <tr>
<td>nonce</td> <td>nonce</td>
<td>24, 16</td> <td>24, 16</td>
<td><code>26BD66FAAC9875CFCE27A5E6959EE587</code></td> <td><code>C1149FE5F9AE1DE6F9707BF187273FE6</code></td>
<td>Value generated by client in Step 1</td> <td>Value generated by client in Step 1</td>
</tr> </tr>
<tr> <tr>
<td>server_nonce</td> <td>server_nonce</td>
<td>40, 16</td> <td>40, 16</td>
<td><code>B21E985D3EC9B7ECD5D4832913BE6912</code></td> <td><code>AE0BD344ADA91EA2E6CFDD57465337E4</code></td>
<td>Value received from server in Step 2</td> <td>Value received from server in Step 2</td>
</tr> </tr>
<tr> <tr>
<td>p</td> <td>p</td>
<td>56, 8</td> <td>56, 8</td>
<td><code>0444667833000000</code><br>TL byte deserialization <br>=&gt; bigendian conversion to decimal<br>=&gt; 1147566131</td> <td><code>044CEBB817000000</code><br>TL byte deserialization <br>=&gt; bigendian conversion to decimal<br>=&gt; 1290516503</td>
<td>First prime cofactor: single-byte prefix denoting length, 4-byte string, and three bytes of padding</td> <td>First prime cofactor: single-byte prefix denoting length, 4-byte string, and three bytes of padding</td>
</tr> </tr>
<tr> <tr>
<td>q</td> <td>q</td>
<td>64, 8</td> <td>64, 8</td>
<td><code>0458DBFB13000000</code><br>TL byte deserialization <br>=&gt; bigendian conversion to decimal<br>=&gt; 1490811667</td> <td><code>047388D42D000000</code><br>TL byte deserialization <br>=&gt; bigendian conversion to decimal<br>=&gt; 1938347053</td>
<td>Second prime cofactor: single-byte prefix denoting length, 4-byte string, and three bytes of padding</td> <td>Second prime cofactor: single-byte prefix denoting length, 4-byte string, and three bytes of padding</td>
</tr> </tr>
<tr> <tr>
@ -393,7 +393,7 @@ random_padding_bytes = 4294371FBDE2286C0BE7C7D2E19DC02EBBB2B7084337D957AE220B9BF
<tr> <tr>
<td>encrypted_data</td> <td>encrypted_data</td>
<td>80, 260</td> <td>80, 260</td>
<td><code>FE000100B2386EF5D858F165C6531D7F</code> <code>4C66DE3724DBB740BCCA82E3FEF64582</code> <code>E4DDD7D637C42793B010600F8D8B8804</code> <code>12BA8F09129B3AD20F76659A8932B418</code> <code>C90FC409290A0973821E7004822BD20D</code> <code>8B1DF50C755D6095847F8F79266D96C1</code> <code>D6C6A0D52C871A5F1D5F310A97F71FD2</code> <code>11CC6293EA28AE9239BCA18FB51ECF3C</code> <code>950F3467415B35E97CC3CA849275955B</code> <code>63077911E564673955A0E58E0698323F</code> <code>9B9496612911E0D607C3C1AFB174A0B7</code> <code>B6619B969505CEFD45F42705B2439397</code> <code>B572CCEB16B47CD817D67B6C137B079C</code> <code>DFC09AF4FCC53E30DC4B7375FF6E9BA2</code> <code>738DE09B20500D0695084F89EDCC8D68</code> <code>9C160ACAAF89AF406DA09AD8BF1765B5</code><br> <code>CE2B603F</code></td> <td><code>FE0001005D827F84130191D774B0646D</code> <code>BA7A0122D4EA18D1E83606E00629767D</code> <code>2DAE50E77EE357CD081C675CD29E4213</code> <code>9D033024F0E04AF7911FB43C93FDBB25</code> <code>78AAB5DB345FF08657C8D693B404A11E</code> <code>2C985C7B289F036F2C260B0C2DA8C6FF</code> <code>D649AFD52A4BEACCEBC232590F752852</code> <code>22CA8A26A3574CEB122D77C645B43D88</code> <code>DE64474B0CC06162539D8D1334CA34B3</code> <code>325B70AC5F361D34EDAE3737005FD248</code> <code>E354EEE9860BBCB24E0476F99543B363</code> <code>584AAC31A0C95C4763C103DC42D2D09D</code> <code>BA540591D988EB6DFD3D3D84CBFACFBF</code> <code>29E63FE95F7F4CDCFDC4F934F131446C</code> <code>A25B4F76C1F589121E814208E1DAC2DA</code> <code>74CA44EA0124E22CC3752508706ABFAF</code><br> <code>E85B6921</code></td>
<td>Value generated above</td> <td>Value generated above</td>
</tr> </tr>
</tbody> </tbody>
@ -402,47 +402,47 @@ random_padding_bytes = 4294371FBDE2286C0BE7C7D2E19DC02EBBB2B7084337D957AE220B9BF
<h5><a class="anchor" href="#6-server-responds-with" id="6-server-responds-with" name="6-server-responds-with"><i class="anchor-icon"></i></a>6) Server responds with:</h5> <h5><a class="anchor" href="#6-server-responds-with" id="6-server-responds-with" name="6-server-responds-with"><i class="anchor-icon"></i></a>6) Server responds with:</h5>
<!-- start server_DH_params_ok --> <!-- start server_DH_params_ok -->
<p>Received payload (excluding transport headers/trailers):</p> <p>Received payload (excluding transport headers/trailers):</p>
<pre><code>0000 | 00 00 00 00 00 00 00 00 01 5C 2C EB B8 90 52 65 <pre><code>0000 | 00 00 00 00 00 00 00 00 01 60 9B 86 48 E1 53 65
0010 | A4 02 00 00 5C 07 E8 D0 26 BD 66 FA AC 98 75 CF 0010 | 78 02 00 00 5C 07 E8 D0 C1 14 9F E5 F9 AE 1D E6
0020 | CE 27 A5 E6 95 9E E5 87 B2 1E 98 5D 3E C9 B7 EC 0020 | F9 70 7B F1 87 27 3F E6 AE 0B D3 44 AD A9 1E A2
0030 | D5 D4 83 29 13 BE 69 12 FE 50 02 00 C4 9A 1A 4B 0030 | E6 CF DD 57 46 53 37 E4 FE 50 02 00 CE 79 5D 8E
0040 | 9A 7C 7D DA A3 B4 8D B8 B7 9E 2E C0 DE E0 5E 11 0040 | 47 ED A0 6D 17 94 24 36 D0 80 9E ED 52 EA D1 4E
0050 | 89 9C 5B BF 70 F4 DC 7B 51 35 29 7B 4E C8 A9 34 0050 | 51 1D 35 A2 D6 D7 4C 17 4F E4 E4 42 9A ED DE B8
0060 | 34 2A 02 D5 00 70 1F 98 32 0C D5 02 3E F2 5A F5 0060 | FD 86 3C 6C 4F D2 7B 64 BA C8 13 8E 79 46 0F 1E
0070 | BB B1 01 32 EE 84 30 37 2B 15 63 AC 68 E1 C5 C8 0070 | 8D F1 5E D0 0A BA B4 08 D6 CD D6 61 AF A6 21 22
0080 | 5B C7 25 EB 40 F6 5B 01 0B C4 AE AC C9 FB 14 D2 0080 | 2A 42 C9 00 0E 37 BA E2 DA 68 06 37 D9 03 D3 65
0090 | 41 EB B4 59 B5 32 64 FC ED B0 7C EF D3 5A 94 2C 0090 | 37 77 78 6C 56 57 40 27 00 E6 6F A7 2B 69 C6 EB
00A0 | B1 A8 DB 78 75 EE F3 22 7E 71 14 26 B8 42 5F B9 00A0 | F1 6B E1 B8 30 AB 37 1C 7E 29 CA 0C 61 A8 A5 E4
00B0 | 52 0B E8 ED 2C 22 C6 81 80 1E 12 A5 88 6A 09 99 00B0 | 78 4A FD 8E 15 F3 E7 86 1F 80 4C CB E0 6B 6F 65
00C0 | 0A E7 DF 80 07 5A C4 A5 3A 43 42 22 B8 12 0F E0 00C0 | 1D 7C 17 6D 16 E2 2E 48 1D C4 08 56 7B DC 2F A9
00D0 | E1 CB 3A DC 32 3B 9F 50 14 4D B3 17 89 B2 DC D9 00D0 | 3B 79 D8 9D D4 40 AD 63 CD 28 1C 1F A5 C7 9A DE
00E0 | 84 A9 55 5C EA 15 7F 0D 84 A2 B8 E1 65 F1 2C 08 00E0 | 75 02 24 F8 94 2D D2 92 A0 AF DF FC 7C 09 CC BE
00F0 | E4 8E 8F 50 68 7A 10 5E BB 14 B3 DC E2 33 9E B7 00F0 | EA 92 03 E6 F1 12 7D 8C B6 13 DB D1 C0 53 4E 31
0100 | 70 6E BF 44 A0 42 7D 7A 31 70 E3 D9 63 BE 7B 95 0100 | 7F 14 A9 02 75 0D 27 51 FC E4 36 D7 18 70 F6 4D
0110 | 3F F5 8A AF A5 E1 0C 7A FC CE 58 9B 3F 38 33 7F 0110 | 69 51 E2 EB 25 84 CC 81 D3 33 09 7F 89 21 69 31
0120 | 1F E0 B2 56 B6 D0 54 61 22 52 00 34 7D EE E3 83 0120 | B9 44 B7 DE 19 92 13 4D 4E 67 D5 9F CE F8 96 74
0130 | 86 40 AC BE 66 A6 80 40 71 2C FD F0 43 41 73 41 0130 | 6A A7 1D 09 94 D2 43 05 14 C3 5E 50 56 C7 69 C1
0140 | AF FA 31 05 9A 46 C1 13 99 1A 3E 24 66 28 02 3D 0140 | BE 4F 77 BD E9 9E B3 AC 4F 0E E6 15 56 60 F9 02
0150 | 3A C4 0E DD 49 C6 EA 7A A3 CF 84 B4 F3 C1 CC 70 0150 | 54 64 7E DF D7 0B 8E 05 67 42 CC D5 FF 0B F1 AF
0160 | 7C 5C B3 78 3D 99 78 09 7E D5 4F 8A B3 D6 C2 1D 0160 | 0A 8F B5 91 D3 99 01 A6 C7 87 E0 48 2C 94 81 A0
0170 | 14 97 72 D1 9F BF 37 2D 31 65 7E 70 99 48 F2 8B 0170 | 19 0D DF E0 AB 87 49 CD 0B E9 6D 0D D9 48 C6 F4
0180 | D0 5C A8 10 BA FF 64 EB D7 95 DD 86 E0 15 A8 6F 0180 | 33 D6 86 D7 41 3F 9C 25 51 AB 56 77 9D DE 4A 88
0190 | A4 D8 AE 7F 41 D7 06 CF 66 0B 2F 91 D3 9A 1E 73 0190 | 86 B3 DB 82 25 76 E8 F3 D0 9F 18 EF 95 45 1A 53
01A0 | F8 A7 5D F3 C8 9D 18 B4 9A D7 1E F5 12 68 BA E0 01A0 | 09 7C 60 41 2A 07 26 87 C5 60 76 10 AA 44 E6 1F
01B0 | 09 FD D5 D7 F1 A5 DC BC 4D 16 55 9B 32 63 C6 38 01B0 | 72 D6 CE 47 4C 8B A7 CE A0 22 4A 2D DB D5 16 08
01C0 | E4 CE 45 89 7C E3 93 F2 52 CB F2 34 D0 94 C2 97 01C0 | D3 6D 17 5D C2 1A 5C A4 53 F1 AA 73 64 BF 47 10
01D0 | 53 05 26 14 F8 FB 6F A1 36 B4 BB 62 8B 14 A7 2D 01D0 | 71 9B 2E E9 B8 A5 13 E3 10 94 67 7A BC B2 8F 47
01E0 | F1 E3 05 D2 F7 FC AF 35 3E 22 8B 79 C6 08 E8 64 01E0 | C5 23 1D 3E 26 34 8E 98 4C BB FC EC A0 F8 C2 ED
01F0 | 31 8A EB 61 2D 0B 5A DE AD CD 30 C4 15 E1 55 76 01F0 | 8A 77 A2 2D 77 06 68 E8 9D E3 64 B0 0F 1F 13 83
0200 | F3 3A 30 A7 19 A9 8D B0 B1 38 A1 0B AD 88 F8 D2 0200 | F7 1C 8C 84 3D 45 2E F6 E5 C7 1D C3 4D 13 37 E5
0210 | 03 75 DF 18 D6 78 5F 0A E0 D3 BD 3E 71 55 5F 73 0210 | A5 78 75 72 0C 8C E8 7E 94 C0 2D AF 42 97 D0 B3
0220 | AC D7 7E 0F E0 07 1E D0 44 55 4E 5C 71 EE 9A 24 0220 | C9 7C 21 70 97 5E F1 EB BE E0 59 65 61 9A 51 6D
0230 | 01 CA 14 39 F3 E6 D2 BC F2 0D 86 C3 23 40 40 CF 0230 | 78 5F 3F EA 37 26 D0 46 35 E9 E4 2A 98 2E 75 26
0240 | 19 88 67 06 13 D6 66 D6 37 C4 63 4E 8B DF 49 BA 0240 | 61 AC 7E B0 44 49 90 5A FA BA B5 E7 7B 34 09 CA
0250 | 0C CE 90 AC 91 53 55 1E 62 35 03 86 49 30 0E D6 0250 | BE 19 9B B0 75 43 A0 89 56 EF 4C F8 1F 43 7D 00
0260 | 70 26 2E 47 75 DB 4B D3 6F 10 8D 16 3C 23 04 88 0260 | DA 91 27 F2 80 AB DF 09 22 8B EB 66 B1 83 1D 75
0270 | 81 1E 4E 2F 36 F9 2E 92 90 49 30 4D EA C7 25 9E 0270 | 2A 90 13 C5 98 7B 4B 2F 46 DB B3 8D FD 5C C0 80
0280 | D6 C7 86 84 99 E1 E2 BA F5 BF 6A 34</code></pre> 0280 | 1E D5 D1 5A 67 87 84 A5 04 07 D0 F0</code></pre>
<p>Payload (de)serialization:</p> <p>Payload (de)serialization:</p>
<pre><code>server_DH_params_ok#d0e8075c nonce:int128 server_nonce:int128 encrypted_answer:string = Server_DH_Params;</code></pre> <pre><code>server_DH_params_ok#d0e8075c nonce:int128 server_nonce:int128 encrypted_answer:string = Server_DH_Params;</code></pre>
<table class="table"> <table class="table">
@ -464,13 +464,13 @@ random_padding_bytes = 4294371FBDE2286C0BE7C7D2E19DC02EBBB2B7084337D957AE220B9BF
<tr> <tr>
<td>message_id</td> <td>message_id</td>
<td>8, 8</td> <td>8, 8</td>
<td><code>015C2CEBB8905265</code></td> <td><code>01609B8648E15365</code></td>
<td>Message ID generated as specified <a href="/mtproto/description#message-identifier-msg-id">here »</a> (unixtime() &lt;&lt; 32) + (N*4)</td> <td>Message ID generated as specified <a href="/mtproto/description#message-identifier-msg-id">here »</a> (unixtime() &lt;&lt; 32) + (N*4)</td>
</tr> </tr>
<tr> <tr>
<td>message_length</td> <td>message_length</td>
<td>16, 4</td> <td>16, 4</td>
<td><code>A4020000</code> (676 in decimal)</td> <td><code>78020000</code> (632 in decimal)</td>
<td>Message body length</td> <td>Message body length</td>
</tr> </tr>
<tr> <tr>
@ -482,19 +482,19 @@ random_padding_bytes = 4294371FBDE2286C0BE7C7D2E19DC02EBBB2B7084337D957AE220B9BF
<tr> <tr>
<td>nonce</td> <td>nonce</td>
<td>24, 16</td> <td>24, 16</td>
<td><code>26BD66FAAC9875CFCE27A5E6959EE587</code></td> <td><code>C1149FE5F9AE1DE6F9707BF187273FE6</code></td>
<td>Value generated by client in Step 1</td> <td>Value generated by client in Step 1</td>
</tr> </tr>
<tr> <tr>
<td>server_nonce</td> <td>server_nonce</td>
<td>40, 16</td> <td>40, 16</td>
<td><code>B21E985D3EC9B7ECD5D4832913BE6912</code></td> <td><code>AE0BD344ADA91EA2E6CFDD57465337E4</code></td>
<td>Value received from server in Step 2</td> <td>Value received from server in Step 2</td>
</tr> </tr>
<tr> <tr>
<td>encrypted_answer</td> <td>encrypted_answer</td>
<td>56, 596</td> <td>56, 596</td>
<td><code>FE500200C49A1A4B9A7C7DDAA3B48DB8</code> <code>B79E2EC0DEE05E11899C5BBF70F4DC7B</code> <code>5135297B4EC8A934342A02D500701F98</code> <code>320CD5023EF25AF5BBB10132EE843037</code> <code>2B1563AC68E1C5C85BC725EB40F65B01</code> <code>0BC4AEACC9FB14D241EBB459B53264FC</code> <code>EDB07CEFD35A942CB1A8DB7875EEF322</code> <code>7E711426B8425FB9520BE8ED2C22C681</code> <code>801E12A5886A09990AE7DF80075AC4A5</code> <code>3A434222B8120FE0E1CB3ADC323B9F50</code> <code>144DB31789B2DCD984A9555CEA157F0D</code> <code>84A2B8E165F12C08E48E8F50687A105E</code> <code>BB14B3DCE2339EB7706EBF44A0427D7A</code> <code>3170E3D963BE7B953FF58AAFA5E10C7A</code> <code>FCCE589B3F38337F1FE0B256B6D05461</code> <code>225200347DEEE3838640ACBE66A68040</code> <code>712CFDF043417341AFFA31059A46C113</code> <code>991A3E246628023D3AC40EDD49C6EA7A</code> <code>A3CF84B4F3C1CC707C5CB3783D997809</code> <code>7ED54F8AB3D6C21D149772D19FBF372D</code> <code>31657E709948F28BD05CA810BAFF64EB</code> <code>D795DD86E015A86FA4D8AE7F41D706CF</code> <code>660B2F91D39A1E73F8A75DF3C89D18B4</code> <code>9AD71EF51268BAE009FDD5D7F1A5DCBC</code> <code>4D16559B3263C638E4CE45897CE393F2</code> <code>52CBF234D094C29753052614F8FB6FA1</code> <code>36B4BB628B14A72DF1E305D2F7FCAF35</code> <code>3E228B79C608E864318AEB612D0B5ADE</code> <code>ADCD30C415E15576F33A30A719A98DB0</code> <code>B138A10BAD88F8D20375DF18D6785F0A</code> <code>E0D3BD3E71555F73ACD77E0FE0071ED0</code> <code>44554E5C71EE9A2401CA1439F3E6D2BC</code> <code>F20D86C3234040CF1988670613D666D6</code> <code>37C4634E8BDF49BA0CCE90AC9153551E</code> <code>6235038649300ED670262E4775DB4BD3</code> <code>6F108D163C230488811E4E2F36F92E92</code> <code>9049304DEAC7259ED6C7868499E1E2BA</code><br> <code>F5BF6A34</code></td> <td><code>FE500200CE795D8E47EDA06D17942436</code> <code>D0809EED52EAD14E511D35A2D6D74C17</code> <code>4FE4E4429AEDDEB8FD863C6C4FD27B64</code> <code>BAC8138E79460F1E8DF15ED00ABAB408</code> <code>D6CDD661AFA621222A42C9000E37BAE2</code> <code>DA680637D903D3653777786C56574027</code> <code>00E66FA72B69C6EBF16BE1B830AB371C</code> <code>7E29CA0C61A8A5E4784AFD8E15F3E786</code> <code>1F804CCBE06B6F651D7C176D16E22E48</code> <code>1DC408567BDC2FA93B79D89DD440AD63</code> <code>CD281C1FA5C79ADE750224F8942DD292</code> <code>A0AFDFFC7C09CCBEEA9203E6F1127D8C</code> <code>B613DBD1C0534E317F14A902750D2751</code> <code>FCE436D71870F64D6951E2EB2584CC81</code> <code>D333097F89216931B944B7DE1992134D</code> <code>4E67D59FCEF896746AA71D0994D24305</code> <code>14C35E5056C769C1BE4F77BDE99EB3AC</code> <code>4F0EE6155660F90254647EDFD70B8E05</code> <code>6742CCD5FF0BF1AF0A8FB591D39901A6</code> <code>C787E0482C9481A0190DDFE0AB8749CD</code> <code>0BE96D0DD948C6F433D686D7413F9C25</code> <code>51AB56779DDE4A8886B3DB822576E8F3</code> <code>D09F18EF95451A53097C60412A072687</code> <code>C5607610AA44E61F72D6CE474C8BA7CE</code> <code>A0224A2DDBD51608D36D175DC21A5CA4</code> <code>53F1AA7364BF4710719B2EE9B8A513E3</code> <code>1094677ABCB28F47C5231D3E26348E98</code> <code>4CBBFCECA0F8C2ED8A77A22D770668E8</code> <code>9DE364B00F1F1383F71C8C843D452EF6</code> <code>E5C71DC34D1337E5A57875720C8CE87E</code> <code>94C02DAF4297D0B3C97C2170975EF1EB</code> <code>BEE05965619A516D785F3FEA3726D046</code> <code>35E9E42A982E752661AC7EB04449905A</code> <code>FABAB5E77B3409CABE199BB07543A089</code> <code>56EF4CF81F437D00DA9127F280ABDF09</code> <code>228BEB66B1831D752A9013C5987B4B2F</code> <code>46DBB38DFD5CC0801ED5D15A678784A5</code><br> <code>0407D0F0</code></td>
<td>See below</td> <td>See below</td>
</tr> </tr>
</tbody> </tbody>
@ -502,20 +502,20 @@ random_padding_bytes = 4294371FBDE2286C0BE7C7D2E19DC02EBBB2B7084337D957AE220B9BF
<!-- end server_DH_params_ok --> <!-- end server_DH_params_ok -->
<p>Decrypt <code>encrypted_answer</code> using the reverse of the process specified in <a href="/mtproto/auth_key#6-server-responds-with">step 6</a>:</p> <p>Decrypt <code>encrypted_answer</code> using the reverse of the process specified in <a href="/mtproto/auth_key#6-server-responds-with">step 6</a>:</p>
<!-- start server_DH_inner_data_input --> <!-- start server_DH_inner_data_input -->
<pre><code>encrypted_answer = C49A1A4B9A7C7DDAA3B48DB8B79E2EC0DEE05E11899C5BBF70F4DC7B5135297B4EC8A934342A02D500701F98320CD5023EF25AF5BBB10132EE8430372B1563AC68E1C5C85BC725EB40F65B010BC4AEACC9FB14D241EBB459B53264FCEDB07CEFD35A942CB1A8DB7875EEF3227E711426B8425FB9520BE8ED2C22C681801E12A5886A09990AE7DF80075AC4A53A434222B8120FE0E1CB3ADC323B9F50144DB31789B2DCD984A9555CEA157F0D84A2B8E165F12C08E48E8F50687A105EBB14B3DCE2339EB7706EBF44A0427D7A3170E3D963BE7B953FF58AAFA5E10C7AFCCE589B3F38337F1FE0B256B6D05461225200347DEEE3838640ACBE66A68040712CFDF043417341AFFA31059A46C113991A3E246628023D3AC40EDD49C6EA7AA3CF84B4F3C1CC707C5CB3783D9978097ED54F8AB3D6C21D149772D19FBF372D31657E709948F28BD05CA810BAFF64EBD795DD86E015A86FA4D8AE7F41D706CF660B2F91D39A1E73F8A75DF3C89D18B49AD71EF51268BAE009FDD5D7F1A5DCBC4D16559B3263C638E4CE45897CE393F252CBF234D094C29753052614F8FB6FA136B4BB628B14A72DF1E305D2F7FCAF353E228B79C608E864318AEB612D0B5ADEADCD30C415E15576F33A30A719A98DB0B138A10BAD88F8D20375DF18D6785F0AE0D3BD3E71555F73ACD77E0FE0071ED044554E5C71EE9A2401CA1439F3E6D2BCF20D86C3234040CF1988670613D666D637C4634E8BDF49BA0CCE90AC9153551E6235038649300ED670262E4775DB4BD36F108D163C230488811E4E2F36F92E929049304DEAC7259ED6C7868499E1E2BAF5BF6A34 <pre><code>encrypted_answer = CE795D8E47EDA06D17942436D0809EED52EAD14E511D35A2D6D74C174FE4E4429AEDDEB8FD863C6C4FD27B64BAC8138E79460F1E8DF15ED00ABAB408D6CDD661AFA621222A42C9000E37BAE2DA680637D903D3653777786C5657402700E66FA72B69C6EBF16BE1B830AB371C7E29CA0C61A8A5E4784AFD8E15F3E7861F804CCBE06B6F651D7C176D16E22E481DC408567BDC2FA93B79D89DD440AD63CD281C1FA5C79ADE750224F8942DD292A0AFDFFC7C09CCBEEA9203E6F1127D8CB613DBD1C0534E317F14A902750D2751FCE436D71870F64D6951E2EB2584CC81D333097F89216931B944B7DE1992134D4E67D59FCEF896746AA71D0994D2430514C35E5056C769C1BE4F77BDE99EB3AC4F0EE6155660F90254647EDFD70B8E056742CCD5FF0BF1AF0A8FB591D39901A6C787E0482C9481A0190DDFE0AB8749CD0BE96D0DD948C6F433D686D7413F9C2551AB56779DDE4A8886B3DB822576E8F3D09F18EF95451A53097C60412A072687C5607610AA44E61F72D6CE474C8BA7CEA0224A2DDBD51608D36D175DC21A5CA453F1AA7364BF4710719B2EE9B8A513E31094677ABCB28F47C5231D3E26348E984CBBFCECA0F8C2ED8A77A22D770668E89DE364B00F1F1383F71C8C843D452EF6E5C71DC34D1337E5A57875720C8CE87E94C02DAF4297D0B3C97C2170975EF1EBBEE05965619A516D785F3FEA3726D04635E9E42A982E752661AC7EB04449905AFABAB5E77B3409CABE199BB07543A08956EF4CF81F437D00DA9127F280ABDF09228BEB66B1831D752A9013C5987B4B2F46DBB38DFD5CC0801ED5D15A678784A50407D0F0
tmp_aes_key = 50467B2FCB4A132671FAD6A516EE22B77DE5E0D984276C02F0C486AE4CEE52E2 tmp_aes_key = AAB528F14E8ECAD99290F5AC3CA8B323046841A628252C83652DDD78C02F4C8C
tmp_aes_iv = CDB0881CC08413E78791861E094E1A279D07459F407D4683DC6558D4D5E3E58D</code></pre> tmp_aes_iv = 87AC534B08733D154F4A15EF6B70605F622ED308764630B0C6DE2E4F81ED7CDB</code></pre>
<!-- end server_DH_inner_data_input --> <!-- end server_DH_inner_data_input -->
<p>Yielding:</p> <p>Yielding:</p>
<!-- start server_DH_inner_data_output --> <!-- start server_DH_inner_data_output -->
<pre><code>answer_with_hash = 230CDAD37181F11AD3684C399ED527B269CB1221BA0D89B526BD66FAAC9875CFCE27A5E6959EE587B21E985D3EC9B7ECD5D4832913BE691203000000FE000100C71CAEB9C6B1C9048E6C522F70F13F73980D40238E3E21C14934D037563D930F48198A0AA7C14058229493D22530F4DBFA336F6E0AC925139543AED44CCE7C3720FD51F69458705AC68CD4FE6B6B13ABDC9746512969328454F18FAF8C595F642477FE96BB2A941D5BCD1D4AC8CC49880708FA9B378E3C4F3A9060BEE67CF9A4A4A695811051907E162753B56B0F6B410DBA74D8A84B2A14B3144E0EF1284754FD17ED950D5965B4B9DD46582DB1178D169C6BC465B0D6FF9CA3928FEF5B9AE4E418FC15E83EBEA0F87FA9FF5EED70050DED2849F47BF959D956850CE929851F0D8115F635B105EE2E4E15D04B2454BF6F4FADF034B10403119CD8E3B92FCC5BFE0001002BF6F2C80188A19712DFEE1B962274142091C35FA6DD61F3BDF525ACDD5F18B0E1DBCFF01E2A06A6813FE60A0447123375B11275911F82448E0F1A878A3C893B3129A40E4A6AC8C4BA6342FD40F00BC36E0234C70D98C0AD46DE23A3882F2B5846DD20CB6A16C61FF3411DC356A46222DCBFE188720D9F1D3834E313DC2331B10CEF42AD4BFBED3FB7C97DFE1DE36B17E99452947B185575ADCADB76ED7AD49B671D46F475568E7D5B72FFC8222F6A8D8E02D3D77AF64F64EC2B1EF5FB64D02FA56E46AB823CBC295F321E79051F58F6F3E38B4A63559CFEDF91456B37591BD2453A67C82C8214BA160091B8AE07E0A7C7C90533A810E76E58438FB3CFECC4D4B8905265B7AC84D45DF41E91 <pre><code>answer_with_hash = D7D69FAB8E635139666E8D49D62B0FF05008FBADBA0D89B5C1149FE5F9AE1DE6F9707BF187273FE6AE0BD344ADA91EA2E6CFDD57465337E403000000FE000100C71CAEB9C6B1C9048E6C522F70F13F73980D40238E3E21C14934D037563D930F48198A0AA7C14058229493D22530F4DBFA336F6E0AC925139543AED44CCE7C3720FD51F69458705AC68CD4FE6B6B13ABDC9746512969328454F18FAF8C595F642477FE96BB2A941D5BCD1D4AC8CC49880708FA9B378E3C4F3A9060BEE67CF9A4A4A695811051907E162753B56B0F6B410DBA74D8A84B2A14B3144E0EF1284754FD17ED950D5965B4B9DD46582DB1178D169C6BC465B0D6FF9CA3928FEF5B9AE4E418FC15E83EBEA0F87FA9FF5EED70050DED2849F47BF959D956850CE929851F0D8115F635B105EE2E4E15D04B2454BF6F4FADF034B10403119CD8E3B92FCC5BFE0001004966BEB0A959683CE296167319A09A8A5B7F9C77245C9CF0B377BEFDAD9EB6FD23B87493E56D60C12B77F787B008B108AE4C0B25F47948D5258EB8E416DD489429296583DDB6BF8A82FB4245AAB880C94FB99FA869005D43C5F2E69208DF8DBAE15AF63B377EB732CA630B7C5713737EC472DEA4CDBD70E8E532692382843A3398A0C4300B54554C1770282A9FD8741DD88A0A0D94A29D64FE69A8F3FB9062B8F17E05A3FC64453778151D45484EFF2B220E8C741704029134CA0C1888DC62EE80801E5C0F0E4A1B6CB40938B7D701AA73CB9AD3737B1F01B064449F14E5B0FF2E44341722555FE60C4DCF3C229534804F872CF490ED922CDA61242A44CDC9D348E15365AA4A0B46C1AB881E
answer = BA0D89B526BD66FAAC9875CFCE27A5E6959EE587B21E985D3EC9B7ECD5D4832913BE691203000000FE000100C71CAEB9C6B1C9048E6C522F70F13F73980D40238E3E21C14934D037563D930F48198A0AA7C14058229493D22530F4DBFA336F6E0AC925139543AED44CCE7C3720FD51F69458705AC68CD4FE6B6B13ABDC9746512969328454F18FAF8C595F642477FE96BB2A941D5BCD1D4AC8CC49880708FA9B378E3C4F3A9060BEE67CF9A4A4A695811051907E162753B56B0F6B410DBA74D8A84B2A14B3144E0EF1284754FD17ED950D5965B4B9DD46582DB1178D169C6BC465B0D6FF9CA3928FEF5B9AE4E418FC15E83EBEA0F87FA9FF5EED70050DED2849F47BF959D956850CE929851F0D8115F635B105EE2E4E15D04B2454BF6F4FADF034B10403119CD8E3B92FCC5BFE0001002BF6F2C80188A19712DFEE1B962274142091C35FA6DD61F3BDF525ACDD5F18B0E1DBCFF01E2A06A6813FE60A0447123375B11275911F82448E0F1A878A3C893B3129A40E4A6AC8C4BA6342FD40F00BC36E0234C70D98C0AD46DE23A3882F2B5846DD20CB6A16C61FF3411DC356A46222DCBFE188720D9F1D3834E313DC2331B10CEF42AD4BFBED3FB7C97DFE1DE36B17E99452947B185575ADCADB76ED7AD49B671D46F475568E7D5B72FFC8222F6A8D8E02D3D77AF64F64EC2B1EF5FB64D02FA56E46AB823CBC295F321E79051F58F6F3E38B4A63559CFEDF91456B37591BD2453A67C82C8214BA160091B8AE07E0A7C7C90533A810E76E58438FB3CFECC4D4B8905265B7AC84D45DF41E91</code></pre> answer = BA0D89B5C1149FE5F9AE1DE6F9707BF187273FE6AE0BD344ADA91EA2E6CFDD57465337E403000000FE000100C71CAEB9C6B1C9048E6C522F70F13F73980D40238E3E21C14934D037563D930F48198A0AA7C14058229493D22530F4DBFA336F6E0AC925139543AED44CCE7C3720FD51F69458705AC68CD4FE6B6B13ABDC9746512969328454F18FAF8C595F642477FE96BB2A941D5BCD1D4AC8CC49880708FA9B378E3C4F3A9060BEE67CF9A4A4A695811051907E162753B56B0F6B410DBA74D8A84B2A14B3144E0EF1284754FD17ED950D5965B4B9DD46582DB1178D169C6BC465B0D6FF9CA3928FEF5B9AE4E418FC15E83EBEA0F87FA9FF5EED70050DED2849F47BF959D956850CE929851F0D8115F635B105EE2E4E15D04B2454BF6F4FADF034B10403119CD8E3B92FCC5BFE0001004966BEB0A959683CE296167319A09A8A5B7F9C77245C9CF0B377BEFDAD9EB6FD23B87493E56D60C12B77F787B008B108AE4C0B25F47948D5258EB8E416DD489429296583DDB6BF8A82FB4245AAB880C94FB99FA869005D43C5F2E69208DF8DBAE15AF63B377EB732CA630B7C5713737EC472DEA4CDBD70E8E532692382843A3398A0C4300B54554C1770282A9FD8741DD88A0A0D94A29D64FE69A8F3FB9062B8F17E05A3FC64453778151D45484EFF2B220E8C741704029134CA0C1888DC62EE80801E5C0F0E4A1B6CB40938B7D701AA73CB9AD3737B1F01B064449F14E5B0FF2E44341722555FE60C4DCF3C229534804F872CF490ED922CDA61242A44CDC9D348E15365AA4A0B46C1AB881E</code></pre>
<!-- end server_DH_inner_data_output --> <!-- end server_DH_inner_data_output -->
<!-- start server_DH_inner_data --> <!-- start server_DH_inner_data -->
<p>Generated payload (excluding transport headers/trailers):</p> <p>Generated payload (excluding transport headers/trailers):</p>
<pre><code>0000 | BA 0D 89 B5 26 BD 66 FA AC 98 75 CF CE 27 A5 E6 <pre><code>0000 | BA 0D 89 B5 C1 14 9F E5 F9 AE 1D E6 F9 70 7B F1
0010 | 95 9E E5 87 B2 1E 98 5D 3E C9 B7 EC D5 D4 83 29 0010 | 87 27 3F E6 AE 0B D3 44 AD A9 1E A2 E6 CF DD 57
0020 | 13 BE 69 12 03 00 00 00 FE 00 01 00 C7 1C AE B9 0020 | 46 53 37 E4 03 00 00 00 FE 00 01 00 C7 1C AE B9
0030 | C6 B1 C9 04 8E 6C 52 2F 70 F1 3F 73 98 0D 40 23 0030 | C6 B1 C9 04 8E 6C 52 2F 70 F1 3F 73 98 0D 40 23
0040 | 8E 3E 21 C1 49 34 D0 37 56 3D 93 0F 48 19 8A 0A 0040 | 8E 3E 21 C1 49 34 D0 37 56 3D 93 0F 48 19 8A 0A
0050 | A7 C1 40 58 22 94 93 D2 25 30 F4 DB FA 33 6F 6E 0050 | A7 C1 40 58 22 94 93 D2 25 30 F4 DB FA 33 6F 6E
@ -532,23 +532,23 @@ answer = BA0D89B526BD66FAAC9875CFCE27A5E6959EE587B21E985D3EC9B7ECD5D4832913BE691
0100 | F4 7B F9 59 D9 56 85 0C E9 29 85 1F 0D 81 15 F6 0100 | F4 7B F9 59 D9 56 85 0C E9 29 85 1F 0D 81 15 F6
0110 | 35 B1 05 EE 2E 4E 15 D0 4B 24 54 BF 6F 4F AD F0 0110 | 35 B1 05 EE 2E 4E 15 D0 4B 24 54 BF 6F 4F AD F0
0120 | 34 B1 04 03 11 9C D8 E3 B9 2F CC 5B FE 00 01 00 0120 | 34 B1 04 03 11 9C D8 E3 B9 2F CC 5B FE 00 01 00
0130 | 2B F6 F2 C8 01 88 A1 97 12 DF EE 1B 96 22 74 14 0130 | 49 66 BE B0 A9 59 68 3C E2 96 16 73 19 A0 9A 8A
0140 | 20 91 C3 5F A6 DD 61 F3 BD F5 25 AC DD 5F 18 B0 0140 | 5B 7F 9C 77 24 5C 9C F0 B3 77 BE FD AD 9E B6 FD
0150 | E1 DB CF F0 1E 2A 06 A6 81 3F E6 0A 04 47 12 33 0150 | 23 B8 74 93 E5 6D 60 C1 2B 77 F7 87 B0 08 B1 08
0160 | 75 B1 12 75 91 1F 82 44 8E 0F 1A 87 8A 3C 89 3B 0160 | AE 4C 0B 25 F4 79 48 D5 25 8E B8 E4 16 DD 48 94
0170 | 31 29 A4 0E 4A 6A C8 C4 BA 63 42 FD 40 F0 0B C3 0170 | 29 29 65 83 DD B6 BF 8A 82 FB 42 45 AA B8 80 C9
0180 | 6E 02 34 C7 0D 98 C0 AD 46 DE 23 A3 88 2F 2B 58 0180 | 4F B9 9F A8 69 00 5D 43 C5 F2 E6 92 08 DF 8D BA
0190 | 46 DD 20 CB 6A 16 C6 1F F3 41 1D C3 56 A4 62 22 0190 | E1 5A F6 3B 37 7E B7 32 CA 63 0B 7C 57 13 73 7E
01A0 | DC BF E1 88 72 0D 9F 1D 38 34 E3 13 DC 23 31 B1 01A0 | C4 72 DE A4 CD BD 70 E8 E5 32 69 23 82 84 3A 33
01B0 | 0C EF 42 AD 4B FB ED 3F B7 C9 7D FE 1D E3 6B 17 01B0 | 98 A0 C4 30 0B 54 55 4C 17 70 28 2A 9F D8 74 1D
01C0 | E9 94 52 94 7B 18 55 75 AD CA DB 76 ED 7A D4 9B 01C0 | D8 8A 0A 0D 94 A2 9D 64 FE 69 A8 F3 FB 90 62 B8
01D0 | 67 1D 46 F4 75 56 8E 7D 5B 72 FF C8 22 2F 6A 8D 01D0 | F1 7E 05 A3 FC 64 45 37 78 15 1D 45 48 4E FF 2B
01E0 | 8E 02 D3 D7 7A F6 4F 64 EC 2B 1E F5 FB 64 D0 2F 01E0 | 22 0E 8C 74 17 04 02 91 34 CA 0C 18 88 DC 62 EE
01F0 | A5 6E 46 AB 82 3C BC 29 5F 32 1E 79 05 1F 58 F6 01F0 | 80 80 1E 5C 0F 0E 4A 1B 6C B4 09 38 B7 D7 01 AA
0200 | F3 E3 8B 4A 63 55 9C FE DF 91 45 6B 37 59 1B D2 0200 | 73 CB 9A D3 73 7B 1F 01 B0 64 44 9F 14 E5 B0 FF
0210 | 45 3A 67 C8 2C 82 14 BA 16 00 91 B8 AE 07 E0 A7 0210 | 2E 44 34 17 22 55 5F E6 0C 4D CF 3C 22 95 34 80
0220 | C7 C9 05 33 A8 10 E7 6E 58 43 8F B3 CF EC C4 D4 0220 | 4F 87 2C F4 90 ED 92 2C DA 61 24 2A 44 CD C9 D3
0230 | B8 90 52 65</code></pre> 0230 | 48 E1 53 65</code></pre>
<p>Payload (de)serialization:</p> <p>Payload (de)serialization:</p>
<pre><code>server_DH_inner_data#b5890dba nonce:int128 server_nonce:int128 g:int dh_prime:string g_a:string server_time:int = Server_DH_inner_data;</code></pre> <pre><code>server_DH_inner_data#b5890dba nonce:int128 server_nonce:int128 g:int dh_prime:string g_a:string server_time:int = Server_DH_inner_data;</code></pre>
<table class="table"> <table class="table">
@ -570,13 +570,13 @@ answer = BA0D89B526BD66FAAC9875CFCE27A5E6959EE587B21E985D3EC9B7ECD5D4832913BE691
<tr> <tr>
<td>nonce</td> <td>nonce</td>
<td>4, 16</td> <td>4, 16</td>
<td><code>26BD66FAAC9875CFCE27A5E6959EE587</code></td> <td><code>C1149FE5F9AE1DE6F9707BF187273FE6</code></td>
<td>Value generated by client in Step 1</td> <td>Value generated by client in Step 1</td>
</tr> </tr>
<tr> <tr>
<td>server_nonce</td> <td>server_nonce</td>
<td>20, 16</td> <td>20, 16</td>
<td><code>B21E985D3EC9B7ECD5D4832913BE6912</code></td> <td><code>AE0BD344ADA91EA2E6CFDD57465337E4</code></td>
<td>Value received from server in Step 2</td> <td>Value received from server in Step 2</td>
</tr> </tr>
<tr> <tr>
@ -594,13 +594,13 @@ answer = BA0D89B526BD66FAAC9875CFCE27A5E6959EE587B21E985D3EC9B7ECD5D4832913BE691
<tr> <tr>
<td>g_a</td> <td>g_a</td>
<td>300, 260</td> <td>300, 260</td>
<td><code>FE0001002BF6F2C80188A19712DFEE1B</code> <code>962274142091C35FA6DD61F3BDF525AC</code> <code>DD5F18B0E1DBCFF01E2A06A6813FE60A</code> <code>0447123375B11275911F82448E0F1A87</code> <code>8A3C893B3129A40E4A6AC8C4BA6342FD</code> <code>40F00BC36E0234C70D98C0AD46DE23A3</code> <code>882F2B5846DD20CB6A16C61FF3411DC3</code> <code>56A46222DCBFE188720D9F1D3834E313</code> <code>DC2331B10CEF42AD4BFBED3FB7C97DFE</code> <code>1DE36B17E99452947B185575ADCADB76</code> <code>ED7AD49B671D46F475568E7D5B72FFC8</code> <code>222F6A8D8E02D3D77AF64F64EC2B1EF5</code> <code>FB64D02FA56E46AB823CBC295F321E79</code> <code>051F58F6F3E38B4A63559CFEDF91456B</code> <code>37591BD2453A67C82C8214BA160091B8</code> <code>AE07E0A7C7C90533A810E76E58438FB3</code><br> <code>CFECC4D4</code></td> <td><code>FE0001004966BEB0A959683CE2961673</code> <code>19A09A8A5B7F9C77245C9CF0B377BEFD</code> <code>AD9EB6FD23B87493E56D60C12B77F787</code> <code>B008B108AE4C0B25F47948D5258EB8E4</code> <code>16DD489429296583DDB6BF8A82FB4245</code> <code>AAB880C94FB99FA869005D43C5F2E692</code> <code>08DF8DBAE15AF63B377EB732CA630B7C</code> <code>5713737EC472DEA4CDBD70E8E5326923</code> <code>82843A3398A0C4300B54554C1770282A</code> <code>9FD8741DD88A0A0D94A29D64FE69A8F3</code> <code>FB9062B8F17E05A3FC64453778151D45</code> <code>484EFF2B220E8C741704029134CA0C18</code> <code>88DC62EE80801E5C0F0E4A1B6CB40938</code> <code>B7D701AA73CB9AD3737B1F01B064449F</code> <code>14E5B0FF2E44341722555FE60C4DCF3C</code> <code>229534804F872CF490ED922CDA61242A</code><br> <code>44CDC9D3</code></td>
<td><code>g_a</code> diffie-hellman parameter</td> <td><code>g_a</code> diffie-hellman parameter</td>
</tr> </tr>
<tr> <tr>
<td>server_time</td> <td>server_time</td>
<td>560, 4</td> <td>560, 4</td>
<td><code>B8905265</code> (1699909816 in decimal)</td> <td><code>48E15365</code> (1699995976 in decimal)</td>
<td>Server time</td> <td>Server time</td>
</tr> </tr>
</tbody> </tbody>
@ -609,34 +609,34 @@ answer = BA0D89B526BD66FAAC9875CFCE27A5E6959EE587B21E985D3EC9B7ECD5D4832913BE691
<h5><a class="anchor" href="#7-client-computes-random-2048-bit-number-b-using-a-sufficient-amount-of-entropy-and-sends-the-server-a-message" id="7-client-computes-random-2048-bit-number-b-using-a-sufficient-amount-of-entropy-and-sends-the-server-a-message" name="7-client-computes-random-2048-bit-number-b-using-a-sufficient-amount-of-entropy-and-sends-the-server-a-message"><i class="anchor-icon"></i></a>7) Client computes random 2048-bit number <em>b</em> (using a sufficient amount of entropy) and sends the server a message</h5> <h5><a class="anchor" href="#7-client-computes-random-2048-bit-number-b-using-a-sufficient-amount-of-entropy-and-sends-the-server-a-message" id="7-client-computes-random-2048-bit-number-b-using-a-sufficient-amount-of-entropy-and-sends-the-server-a-message" name="7-client-computes-random-2048-bit-number-b-using-a-sufficient-amount-of-entropy-and-sends-the-server-a-message"><i class="anchor-icon"></i></a>7) Client computes random 2048-bit number <em>b</em> (using a sufficient amount of entropy) and sends the server a message</h5>
<p>First, generate a secure random 2048-bit number b:</p> <p>First, generate a secure random 2048-bit number b:</p>
<!-- start b --> <!-- start b -->
<pre><code>b = 40B667AA49BC731928F4D56C0293F550A41772B17B014881E9DBD659B92B3883475A2D46BB1F990CDC24CB20A12B034E011CFC924E7B85763278B70D5CD5CDD8630C3707411ECD5C52628B7819C4608930CB1D7AF3F9AABEBCC2BB31378C2D61C820B3E8EEED18535D4C534B2A63605BBD471BC741D0811803C3077835A6F4A3DE33569B0935DC79E106DC49B26FB16BB23B1B78BE228FDB2517B9D4EBDF3551D0C55F771151D454EF2367C3BE4132F8B7613CC05F00C82483E21FB843FCC935366C9AEBB0B731A433994421580446765409F6358A06E6F826DFFCB04FA5AF579CF8AC3EAB7AA018412F1A7A5761C98C7D4B83845E28D59DD81634593BFC9D3F</code></pre> <pre><code>b = D983DD33FEB0575878CD78B06E0C60B17F0A85CC0BFFE09FD674DD8780375D9680AB34F285326193C8F82D4FB78E35DE6B822C38950E58D2671745D3F2E6FF699BE3275FA2E1F03B2C3908D2DF742D89B56C3303A2F01F0E80974379AF6EFDCD5F9A3F648D331E104D434BB1482D034F87CD5CDCE626479327F2E05B17E3FE6CC844F528BA4B6F28DFB965A09B6A6A5C050028B777FA4EBBC0582684754A3D0D626626FC1C0C3A082A362A2561B58C2AF9DA08119FAE985A3CBA321CCF21CB8D7048053FF8EC472819D5F4BB677B86D91F973BC1CF8C981A8E0FD80539A1FC76841C93793929529047EC817AEE8D7929372898D92EF452AC6E1D8DDA57EFB1DD</code></pre>
<!-- end b --> <!-- end b -->
<p>Then compute <code>g_b = pow(g, b) mod dh_prime</code></p> <p>Then compute <code>g_b = pow(g, b) mod dh_prime</code></p>
<!-- start g_b --> <!-- start g_b -->
<pre><code>g_b = 3F705A3D16081D2D5303D14160C241DB036755D0409830E7F78CF64E3B9C4D71F514AE2AFBD5C90FC47A9E3C85C430BC00D8777BB8FA35C84744E2B099D08F65757D743E7FB1A48D17AE7124B90AD7DCECF60A2D63B8A7D39CC22249D5D5036BE48B0A88054DA0DF4DE45F3B658570C5B087FEE1AFEE50C915748C0DABD8E23180082315F06A36328E07598184A94D956ABD0316D3D1234A0337315BA7F0AC51A3ED1E2B3B6FD2737FA8FD014B63CC1D132188C735D044FD5981147EDCE292AC11160A58AC38CF56590AB8EA4C02B3D747BD6E9CDEFAA01438D7B6D0746D56830EE2933F5C3D2354204B9ACE7BCCF9566F894B2BFD514BFA62136D361B86A468</code></pre> <pre><code>g_b = 540F41842CFA15D55F55280D42038B546367D978B5308533451537E87064A529555821A506A7E3B4C124F31B5C98EA680B90CB897F01559AA8F016784A5317D6C1921BF8A4A8AF1A0F68C67BD255EC109D64F816993D3D5482C4757E2D23F7DB5D836BCF6BDDE20403F0C1DCA32C085F64E3567BB89688A2F8FCC60886CCD68106BCF51CED5CFF6B988CD25A1FFB447677262C1CADFBD3DF40DBA762902220514E3C937EF6852D6C92792DCAE36F32E9A398A659AB22AEF8FAA588DC3C2E4CA73017C175A6F1FCA75FBDC9B44594D73A4E02F37D4D3FAC8F1A919920D9C2AD644305D6BD6E421C1ED7B0B9C7EF0B06C04133530664F9C0CFD7C77C905BC44536</code></pre>
<!-- end g_b --> <!-- end g_b -->
<h6>7.1) generation of encrypted_data</h6> <h6>7.1) generation of encrypted_data</h6>
<!-- start client_DH_inner_data --> <!-- start client_DH_inner_data -->
<p>Generated payload (excluding transport headers/trailers):</p> <p>Generated payload (excluding transport headers/trailers):</p>
<pre><code>0000 | 54 B6 43 66 26 BD 66 FA AC 98 75 CF CE 27 A5 E6 <pre><code>0000 | 54 B6 43 66 C1 14 9F E5 F9 AE 1D E6 F9 70 7B F1
0010 | 95 9E E5 87 B2 1E 98 5D 3E C9 B7 EC D5 D4 83 29 0010 | 87 27 3F E6 AE 0B D3 44 AD A9 1E A2 E6 CF DD 57
0020 | 13 BE 69 12 00 00 00 00 00 00 00 00 FE 00 01 00 0020 | 46 53 37 E4 00 00 00 00 00 00 00 00 FE 00 01 00
0030 | 3F 70 5A 3D 16 08 1D 2D 53 03 D1 41 60 C2 41 DB 0030 | 54 0F 41 84 2C FA 15 D5 5F 55 28 0D 42 03 8B 54
0040 | 03 67 55 D0 40 98 30 E7 F7 8C F6 4E 3B 9C 4D 71 0040 | 63 67 D9 78 B5 30 85 33 45 15 37 E8 70 64 A5 29
0050 | F5 14 AE 2A FB D5 C9 0F C4 7A 9E 3C 85 C4 30 BC 0050 | 55 58 21 A5 06 A7 E3 B4 C1 24 F3 1B 5C 98 EA 68
0060 | 00 D8 77 7B B8 FA 35 C8 47 44 E2 B0 99 D0 8F 65 0060 | 0B 90 CB 89 7F 01 55 9A A8 F0 16 78 4A 53 17 D6
0070 | 75 7D 74 3E 7F B1 A4 8D 17 AE 71 24 B9 0A D7 DC 0070 | C1 92 1B F8 A4 A8 AF 1A 0F 68 C6 7B D2 55 EC 10
0080 | EC F6 0A 2D 63 B8 A7 D3 9C C2 22 49 D5 D5 03 6B 0080 | 9D 64 F8 16 99 3D 3D 54 82 C4 75 7E 2D 23 F7 DB
0090 | E4 8B 0A 88 05 4D A0 DF 4D E4 5F 3B 65 85 70 C5 0090 | 5D 83 6B CF 6B DD E2 04 03 F0 C1 DC A3 2C 08 5F
00A0 | B0 87 FE E1 AF EE 50 C9 15 74 8C 0D AB D8 E2 31 00A0 | 64 E3 56 7B B8 96 88 A2 F8 FC C6 08 86 CC D6 81
00B0 | 80 08 23 15 F0 6A 36 32 8E 07 59 81 84 A9 4D 95 00B0 | 06 BC F5 1C ED 5C FF 6B 98 8C D2 5A 1F FB 44 76
00C0 | 6A BD 03 16 D3 D1 23 4A 03 37 31 5B A7 F0 AC 51 00C0 | 77 26 2C 1C AD FB D3 DF 40 DB A7 62 90 22 20 51
00D0 | A3 ED 1E 2B 3B 6F D2 73 7F A8 FD 01 4B 63 CC 1D 00D0 | 4E 3C 93 7E F6 85 2D 6C 92 79 2D CA E3 6F 32 E9
00E0 | 13 21 88 C7 35 D0 44 FD 59 81 14 7E DC E2 92 AC 00E0 | A3 98 A6 59 AB 22 AE F8 FA A5 88 DC 3C 2E 4C A7
00F0 | 11 16 0A 58 AC 38 CF 56 59 0A B8 EA 4C 02 B3 D7 00F0 | 30 17 C1 75 A6 F1 FC A7 5F BD C9 B4 45 94 D7 3A
0100 | 47 BD 6E 9C DE FA A0 14 38 D7 B6 D0 74 6D 56 83 0100 | 4E 02 F3 7D 4D 3F AC 8F 1A 91 99 20 D9 C2 AD 64
0110 | 0E E2 93 3F 5C 3D 23 54 20 4B 9A CE 7B CC F9 56 0110 | 43 05 D6 BD 6E 42 1C 1E D7 B0 B9 C7 EF 0B 06 C0
0120 | 6F 89 4B 2B FD 51 4B FA 62 13 6D 36 1B 86 A4 68</code></pre> 0120 | 41 33 53 06 64 F9 C0 CF D7 C7 7C 90 5B C4 45 36</code></pre>
<p>Payload (de)serialization:</p> <p>Payload (de)serialization:</p>
<pre><code>client_DH_inner_data#6643b654 nonce:int128 server_nonce:int128 retry_id:long g_b:string = Client_DH_Inner_Data;</code></pre> <pre><code>client_DH_inner_data#6643b654 nonce:int128 server_nonce:int128 retry_id:long g_b:string = Client_DH_Inner_Data;</code></pre>
<table class="table"> <table class="table">
@ -658,19 +658,19 @@ answer = BA0D89B526BD66FAAC9875CFCE27A5E6959EE587B21E985D3EC9B7ECD5D4832913BE691
<tr> <tr>
<td>nonce</td> <td>nonce</td>
<td>4, 16</td> <td>4, 16</td>
<td><code>26BD66FAAC9875CFCE27A5E6959EE587</code></td> <td><code>C1149FE5F9AE1DE6F9707BF187273FE6</code></td>
<td>Value generated by client in Step 1</td> <td>Value generated by client in Step 1</td>
</tr> </tr>
<tr> <tr>
<td>server_nonce</td> <td>server_nonce</td>
<td>20, 16</td> <td>20, 16</td>
<td><code>B21E985D3EC9B7ECD5D4832913BE6912</code></td> <td><code>AE0BD344ADA91EA2E6CFDD57465337E4</code></td>
<td>Value received from server in Step 2</td> <td>Value received from server in Step 2</td>
</tr> </tr>
<tr> <tr>
<td>g_b</td> <td>g_b</td>
<td>36, 260</td> <td>36, 260</td>
<td><code>FE0001003F705A3D16081D2D5303D141</code> <code>60C241DB036755D0409830E7F78CF64E</code> <code>3B9C4D71F514AE2AFBD5C90FC47A9E3C</code> <code>85C430BC00D8777BB8FA35C84744E2B0</code> <code>99D08F65757D743E7FB1A48D17AE7124</code> <code>B90AD7DCECF60A2D63B8A7D39CC22249</code> <code>D5D5036BE48B0A88054DA0DF4DE45F3B</code> <code>658570C5B087FEE1AFEE50C915748C0D</code> <code>ABD8E23180082315F06A36328E075981</code> <code>84A94D956ABD0316D3D1234A0337315B</code> <code>A7F0AC51A3ED1E2B3B6FD2737FA8FD01</code> <code>4B63CC1D132188C735D044FD5981147E</code> <code>DCE292AC11160A58AC38CF56590AB8EA</code> <code>4C02B3D747BD6E9CDEFAA01438D7B6D0</code> <code>746D56830EE2933F5C3D2354204B9ACE</code> <code>7BCCF9566F894B2BFD514BFA62136D36</code><br> <code>1B86A468</code></td> <td><code>FE000100540F41842CFA15D55F55280D</code> <code>42038B546367D978B5308533451537E8</code> <code>7064A529555821A506A7E3B4C124F31B</code> <code>5C98EA680B90CB897F01559AA8F01678</code> <code>4A5317D6C1921BF8A4A8AF1A0F68C67B</code> <code>D255EC109D64F816993D3D5482C4757E</code> <code>2D23F7DB5D836BCF6BDDE20403F0C1DC</code> <code>A32C085F64E3567BB89688A2F8FCC608</code> <code>86CCD68106BCF51CED5CFF6B988CD25A</code> <code>1FFB447677262C1CADFBD3DF40DBA762</code> <code>902220514E3C937EF6852D6C92792DCA</code> <code>E36F32E9A398A659AB22AEF8FAA588DC</code> <code>3C2E4CA73017C175A6F1FCA75FBDC9B4</code> <code>4594D73A4E02F37D4D3FAC8F1A919920</code> <code>D9C2AD644305D6BD6E421C1ED7B0B9C7</code> <code>EF0B06C04133530664F9C0CFD7C77C90</code><br> <code>5BC44536</code></td>
<td>Single-byte prefix denoting length, a 256-byte (2048-bit) string, and zero bytes of padding</td> <td>Single-byte prefix denoting length, a 256-byte (2048-bit) string, and zero bytes of padding</td>
</tr> </tr>
<tr> <tr>
@ -684,47 +684,47 @@ answer = BA0D89B526BD66FAAC9875CFCE27A5E6959EE587B21E985D3EC9B7ECD5D4832913BE691
<!-- end client_DH_inner_data --> <!-- end client_DH_inner_data -->
<p>The serialization of <em>Client_DH_Inner_Data</em> produces a string <strong>data</strong>. This is used to generate <strong>encrypted_data</strong> as specified in <a href="#7-client-computes-random-2048-bit-number-b-using-a-sufficient-amount-of-entropy-and-sends-the-server-a-message">step 6</a>, using the following inputs:</p> <p>The serialization of <em>Client_DH_Inner_Data</em> produces a string <strong>data</strong>. This is used to generate <strong>encrypted_data</strong> as specified in <a href="#7-client-computes-random-2048-bit-number-b-using-a-sufficient-amount-of-entropy-and-sends-the-server-a-message">step 6</a>, using the following inputs:</p>
<!-- start client_DH_inner_data_input --> <!-- start client_DH_inner_data_input -->
<pre><code>data = 54B6436626BD66FAAC9875CFCE27A5E6959EE587B21E985D3EC9B7ECD5D4832913BE69120000000000000000FE0001003F705A3D16081D2D5303D14160C241DB036755D0409830E7F78CF64E3B9C4D71F514AE2AFBD5C90FC47A9E3C85C430BC00D8777BB8FA35C84744E2B099D08F65757D743E7FB1A48D17AE7124B90AD7DCECF60A2D63B8A7D39CC22249D5D5036BE48B0A88054DA0DF4DE45F3B658570C5B087FEE1AFEE50C915748C0DABD8E23180082315F06A36328E07598184A94D956ABD0316D3D1234A0337315BA7F0AC51A3ED1E2B3B6FD2737FA8FD014B63CC1D132188C735D044FD5981147EDCE292AC11160A58AC38CF56590AB8EA4C02B3D747BD6E9CDEFAA01438D7B6D0746D56830EE2933F5C3D2354204B9ACE7BCCF9566F894B2BFD514BFA62136D361B86A468 <pre><code>data = 54B64366C1149FE5F9AE1DE6F9707BF187273FE6AE0BD344ADA91EA2E6CFDD57465337E40000000000000000FE000100540F41842CFA15D55F55280D42038B546367D978B5308533451537E87064A529555821A506A7E3B4C124F31B5C98EA680B90CB897F01559AA8F016784A5317D6C1921BF8A4A8AF1A0F68C67BD255EC109D64F816993D3D5482C4757E2D23F7DB5D836BCF6BDDE20403F0C1DCA32C085F64E3567BB89688A2F8FCC60886CCD68106BCF51CED5CFF6B988CD25A1FFB447677262C1CADFBD3DF40DBA762902220514E3C937EF6852D6C92792DCAE36F32E9A398A659AB22AEF8FAA588DC3C2E4CA73017C175A6F1FCA75FBDC9B44594D73A4E02F37D4D3FAC8F1A919920D9C2AD644305D6BD6E421C1ED7B0B9C7EF0B06C04133530664F9C0CFD7C77C905BC44536
padding = F453381991D9D60D2636535B padding = B94DF620FF1C81E31C1DB4B1
tmp_aes_key = 50467B2FCB4A132671FAD6A516EE22B77DE5E0D984276C02F0C486AE4CEE52E2 tmp_aes_key = AAB528F14E8ECAD99290F5AC3CA8B323046841A628252C83652DDD78C02F4C8C
tmp_aes_iv = CDB0881CC08413E78791861E094E1A279D07459F407D4683DC6558D4D5E3E58D</code></pre> tmp_aes_iv = 87AC534B08733D154F4A15EF6B70605F622ED308764630B0C6DE2E4F81ED7CDB</code></pre>
<!-- end client_DH_inner_data_input --> <!-- end client_DH_inner_data_input -->
<p>Process:</p> <p>Process:</p>
<pre><code>data_with_hash := SHA1(data) + data + padding (0-15 random bytes such that total length is divisible by 16) <pre><code>data_with_hash := SHA1(data) + data + padding (0-15 random bytes such that total length is divisible by 16)
encrypted_data := AES256_ige_encrypt (data_with_hash, tmp_aes_key, tmp_aes_iv);</code></pre> encrypted_data := AES256_ige_encrypt (data_with_hash, tmp_aes_key, tmp_aes_iv);</code></pre>
<p>Output:</p> <p>Output:</p>
<!-- start client_DH_inner_data_output --> <!-- start client_DH_inner_data_output -->
<pre><code>encrypted_data = 18D4986E3CD13B8C752189BF1973C9C65C282CADAFC2AE00B67828E7E68E0BC0145394B83E088A60DC091CE3215E9AE480F28E4ACDD7541D7754BE14E88F7FCF5EB0B0BC467ACBFC2652513637737F789393953C825DC57D7DD01F5366A7E94B374827A3E7742B385E5F6F3DB1AA9D92096A388DF45D1D1BAA96FD18F0D117BEF5EF80E0A9CA376700C841928808A26D7FF82D2DC5FAF3ABDA288ED2F91F54EFDECDDBCFCC326AF365CCFA20EAE06908F5FE99232657B5C11E6565E20E9A30DFA80F05AEA2E2EA072614D870A576A803376F06B09B855E9CC54492D46676B660FDDC05A32C2AA83B992BAE143C10447D246A12D786CD71CC5DB15166AEBAF302B271F3429C592CD9DE0109FAB82DBBA2DA3BB05CCD84BEE607A719158B2A8ECB17A943661EF2DCAEF0BABD58924A57DC4FFEAEEB71D59142567A78214301087ACC21800728D2CEF04380452C5539AED4</code></pre> <pre><code>encrypted_data = 8754EE73F5E3BB3DC2AB18A45513DDD702754C66965FA712F2E3E87DC39E4554FDC8AB738A512601964247B45BFF72EB2C8C9907A24C0C4A74BB876602989F25BFF98B6A6665057048669B151642E77B36C7546EECB4AF944FCCD7281AA3543852FBC2DBCBB8392CCDBB0C436E5DB2097B912C5578367C498AA57BA8FBF9DE273646CD003488D43417FA1578EFC7253C991432400BA9F5A345669744EBD9D45CE1A14538CADE1375854EDF235B6DF8550CCCF387F250BFB457456AFA7BB435021B73D9583BB210242DA377C4E8875128D3A745CFCBDA7F79651879112788ECE2CF7238F091638250E3DC866D52F1BC648EA4C13AA42CC6CDE0796A7F90D7CED764A804C573271DE7070036ED7E8CFCFA38FC5B0EB113B6215E37E9A918AAC8BBB0E065C2A7C8D6C0912EFC9717327E0F299D2E19F8DBECE013FBAA41E6C7CD57A7661C0878CA6E712F84BA3E28867E2D</code></pre>
<!-- end client_DH_inner_data_output --> <!-- end client_DH_inner_data_output -->
<p>The length of the final string is 336 bytes.</p> <p>The length of the final string is 336 bytes.</p>
<h6>7.2) set_client_DH_params query</h6> <h6>7.2) set_client_DH_params query</h6>
<!-- start set_client_DH_params --> <!-- start set_client_DH_params -->
<p>Sent payload (excluding transport headers/trailers):</p> <p>Sent payload (excluding transport headers/trailers):</p>
<pre><code>0000 | 00 00 00 00 00 00 00 00 18 3A 0C 00 B9 90 52 65 <pre><code>0000 | 00 00 00 00 00 00 00 00 58 F3 06 00 49 E1 53 65
0010 | 78 01 00 00 1F 5F 04 F5 26 BD 66 FA AC 98 75 CF 0010 | 78 01 00 00 1F 5F 04 F5 C1 14 9F E5 F9 AE 1D E6
0020 | CE 27 A5 E6 95 9E E5 87 B2 1E 98 5D 3E C9 B7 EC 0020 | F9 70 7B F1 87 27 3F E6 AE 0B D3 44 AD A9 1E A2
0030 | D5 D4 83 29 13 BE 69 12 FE 50 01 00 18 D4 98 6E 0030 | E6 CF DD 57 46 53 37 E4 FE 50 01 00 87 54 EE 73
0040 | 3C D1 3B 8C 75 21 89 BF 19 73 C9 C6 5C 28 2C AD 0040 | F5 E3 BB 3D C2 AB 18 A4 55 13 DD D7 02 75 4C 66
0050 | AF C2 AE 00 B6 78 28 E7 E6 8E 0B C0 14 53 94 B8 0050 | 96 5F A7 12 F2 E3 E8 7D C3 9E 45 54 FD C8 AB 73
0060 | 3E 08 8A 60 DC 09 1C E3 21 5E 9A E4 80 F2 8E 4A 0060 | 8A 51 26 01 96 42 47 B4 5B FF 72 EB 2C 8C 99 07
0070 | CD D7 54 1D 77 54 BE 14 E8 8F 7F CF 5E B0 B0 BC 0070 | A2 4C 0C 4A 74 BB 87 66 02 98 9F 25 BF F9 8B 6A
0080 | 46 7A CB FC 26 52 51 36 37 73 7F 78 93 93 95 3C 0080 | 66 65 05 70 48 66 9B 15 16 42 E7 7B 36 C7 54 6E
0090 | 82 5D C5 7D 7D D0 1F 53 66 A7 E9 4B 37 48 27 A3 0090 | EC B4 AF 94 4F CC D7 28 1A A3 54 38 52 FB C2 DB
00A0 | E7 74 2B 38 5E 5F 6F 3D B1 AA 9D 92 09 6A 38 8D 00A0 | CB B8 39 2C CD BB 0C 43 6E 5D B2 09 7B 91 2C 55
00B0 | F4 5D 1D 1B AA 96 FD 18 F0 D1 17 BE F5 EF 80 E0 00B0 | 78 36 7C 49 8A A5 7B A8 FB F9 DE 27 36 46 CD 00
00C0 | A9 CA 37 67 00 C8 41 92 88 08 A2 6D 7F F8 2D 2D 00C0 | 34 88 D4 34 17 FA 15 78 EF C7 25 3C 99 14 32 40
00D0 | C5 FA F3 AB DA 28 8E D2 F9 1F 54 EF DE CD DB CF 00D0 | 0B A9 F5 A3 45 66 97 44 EB D9 D4 5C E1 A1 45 38
00E0 | CC 32 6A F3 65 CC FA 20 EA E0 69 08 F5 FE 99 23 00E0 | CA DE 13 75 85 4E DF 23 5B 6D F8 55 0C CC F3 87
00F0 | 26 57 B5 C1 1E 65 65 E2 0E 9A 30 DF A8 0F 05 AE 00F0 | F2 50 BF B4 57 45 6A FA 7B B4 35 02 1B 73 D9 58
0100 | A2 E2 EA 07 26 14 D8 70 A5 76 A8 03 37 6F 06 B0 0100 | 3B B2 10 24 2D A3 77 C4 E8 87 51 28 D3 A7 45 CF
0110 | 9B 85 5E 9C C5 44 92 D4 66 76 B6 60 FD DC 05 A3 0110 | CB DA 7F 79 65 18 79 11 27 88 EC E2 CF 72 38 F0
0120 | 2C 2A A8 3B 99 2B AE 14 3C 10 44 7D 24 6A 12 D7 0120 | 91 63 82 50 E3 DC 86 6D 52 F1 BC 64 8E A4 C1 3A
0130 | 86 CD 71 CC 5D B1 51 66 AE BA F3 02 B2 71 F3 42 0130 | A4 2C C6 CD E0 79 6A 7F 90 D7 CE D7 64 A8 04 C5
0140 | 9C 59 2C D9 DE 01 09 FA B8 2D BB A2 DA 3B B0 5C 0140 | 73 27 1D E7 07 00 36 ED 7E 8C FC FA 38 FC 5B 0E
0150 | CD 84 BE E6 07 A7 19 15 8B 2A 8E CB 17 A9 43 66 0150 | B1 13 B6 21 5E 37 E9 A9 18 AA C8 BB B0 E0 65 C2
0160 | 1E F2 DC AE F0 BA BD 58 92 4A 57 DC 4F FE AE EB 0160 | A7 C8 D6 C0 91 2E FC 97 17 32 7E 0F 29 9D 2E 19
0170 | 71 D5 91 42 56 7A 78 21 43 01 08 7A CC 21 80 07 0170 | F8 DB EC E0 13 FB AA 41 E6 C7 CD 57 A7 66 1C 08
0180 | 28 D2 CE F0 43 80 45 2C 55 39 AE D4</code></pre> 0180 | 78 CA 6E 71 2F 84 BA 3E 28 86 7E 2D</code></pre>
<p>Payload (de)serialization:</p> <p>Payload (de)serialization:</p>
<pre><code>set_client_DH_params#f5045f1f nonce:int128 server_nonce:int128 encrypted_data:string = Set_client_DH_params_answer;</code></pre> <pre><code>set_client_DH_params#f5045f1f nonce:int128 server_nonce:int128 encrypted_data:string = Set_client_DH_params_answer;</code></pre>
<table class="table"> <table class="table">
@ -746,7 +746,7 @@ encrypted_data := AES256_ige_encrypt (data_with_hash, tmp_aes_key, tmp_aes_iv);<
<tr> <tr>
<td>message_id</td> <td>message_id</td>
<td>8, 8</td> <td>8, 8</td>
<td><code>183A0C00B9905265</code></td> <td><code>58F3060049E15365</code></td>
<td>Message ID generated as specified <a href="/mtproto/description#message-identifier-msg-id">here »</a> (unixtime() &lt;&lt; 32) + (N*4)</td> <td>Message ID generated as specified <a href="/mtproto/description#message-identifier-msg-id">here »</a> (unixtime() &lt;&lt; 32) + (N*4)</td>
</tr> </tr>
<tr> <tr>
@ -764,19 +764,19 @@ encrypted_data := AES256_ige_encrypt (data_with_hash, tmp_aes_key, tmp_aes_iv);<
<tr> <tr>
<td>nonce</td> <td>nonce</td>
<td>24, 16</td> <td>24, 16</td>
<td><code>26BD66FAAC9875CFCE27A5E6959EE587</code></td> <td><code>C1149FE5F9AE1DE6F9707BF187273FE6</code></td>
<td>Value generated by client in Step 1</td> <td>Value generated by client in Step 1</td>
</tr> </tr>
<tr> <tr>
<td>server_nonce</td> <td>server_nonce</td>
<td>40, 16</td> <td>40, 16</td>
<td><code>B21E985D3EC9B7ECD5D4832913BE6912</code></td> <td><code>AE0BD344ADA91EA2E6CFDD57465337E4</code></td>
<td>Value received from server in Step 2</td> <td>Value received from server in Step 2</td>
</tr> </tr>
<tr> <tr>
<td>encrypted_data</td> <td>encrypted_data</td>
<td>56, 340</td> <td>56, 340</td>
<td><code>FE50010018D4986E3CD13B8C752189BF</code> <code>1973C9C65C282CADAFC2AE00B67828E7</code> <code>E68E0BC0145394B83E088A60DC091CE3</code> <code>215E9AE480F28E4ACDD7541D7754BE14</code> <code>E88F7FCF5EB0B0BC467ACBFC26525136</code> <code>37737F789393953C825DC57D7DD01F53</code> <code>66A7E94B374827A3E7742B385E5F6F3D</code> <code>B1AA9D92096A388DF45D1D1BAA96FD18</code> <code>F0D117BEF5EF80E0A9CA376700C84192</code> <code>8808A26D7FF82D2DC5FAF3ABDA288ED2</code> <code>F91F54EFDECDDBCFCC326AF365CCFA20</code> <code>EAE06908F5FE99232657B5C11E6565E2</code> <code>0E9A30DFA80F05AEA2E2EA072614D870</code> <code>A576A803376F06B09B855E9CC54492D4</code> <code>6676B660FDDC05A32C2AA83B992BAE14</code> <code>3C10447D246A12D786CD71CC5DB15166</code> <code>AEBAF302B271F3429C592CD9DE0109FA</code> <code>B82DBBA2DA3BB05CCD84BEE607A71915</code> <code>8B2A8ECB17A943661EF2DCAEF0BABD58</code> <code>924A57DC4FFEAEEB71D59142567A7821</code> <code>4301087ACC21800728D2CEF04380452C</code><br> <code>5539AED4</code></td> <td><code>FE5001008754EE73F5E3BB3DC2AB18A4</code> <code>5513DDD702754C66965FA712F2E3E87D</code> <code>C39E4554FDC8AB738A512601964247B4</code> <code>5BFF72EB2C8C9907A24C0C4A74BB8766</code> <code>02989F25BFF98B6A6665057048669B15</code> <code>1642E77B36C7546EECB4AF944FCCD728</code> <code>1AA3543852FBC2DBCBB8392CCDBB0C43</code> <code>6E5DB2097B912C5578367C498AA57BA8</code> <code>FBF9DE273646CD003488D43417FA1578</code> <code>EFC7253C991432400BA9F5A345669744</code> <code>EBD9D45CE1A14538CADE1375854EDF23</code> <code>5B6DF8550CCCF387F250BFB457456AFA</code> <code>7BB435021B73D9583BB210242DA377C4</code> <code>E8875128D3A745CFCBDA7F7965187911</code> <code>2788ECE2CF7238F091638250E3DC866D</code> <code>52F1BC648EA4C13AA42CC6CDE0796A7F</code> <code>90D7CED764A804C573271DE7070036ED</code> <code>7E8CFCFA38FC5B0EB113B6215E37E9A9</code> <code>18AAC8BBB0E065C2A7C8D6C0912EFC97</code> <code>17327E0F299D2E19F8DBECE013FBAA41</code> <code>E6C7CD57A7661C0878CA6E712F84BA3E</code><br> <code>28867E2D</code></td>
<td>Encrypted client_DH_inner_data generated previously, serialized as a TL byte string</td> <td>Encrypted client_DH_inner_data generated previously, serialized as a TL byte string</td>
</tr> </tr>
</tbody> </tbody>
@ -785,17 +785,17 @@ encrypted_data := AES256_ige_encrypt (data_with_hash, tmp_aes_key, tmp_aes_iv);<
<h5><a class="anchor" href="#8-auth-key-generation" id="8-auth-key-generation" name="8-auth-key-generation"><i class="anchor-icon"></i></a>8) Auth key generation</h5> <h5><a class="anchor" href="#8-auth-key-generation" id="8-auth-key-generation" name="8-auth-key-generation"><i class="anchor-icon"></i></a>8) Auth key generation</h5>
<p>The client computes the auth_key using formula <code>g_a^b mod dh_prime</code>:</p> <p>The client computes the auth_key using formula <code>g_a^b mod dh_prime</code>:</p>
<!-- start auth_key --> <!-- start auth_key -->
<pre><code>auth_key = 933DB694728888FBFFE10255BBDA639C075D20570E9C123BFECBD57D43B34E9B4A69E81E65D5C1C0D77DD1EF229B73BD28CB11B8B963CEB39072C960F7608BCDBDD66B3838B6E04BFE5EBC1AF31563B407053F63EC61B00DF7889E65ACF7610EE1CEA93C15EED67327D123536303E7551BCED1E0D1F670700C9734DB7FAB759317CF53FCBAF872D31C8ED4B86101DFD1B4AE6F6823BB31EE77AD4F2B7BE6C1B89361C8B59938D57C8DCB2E2F5C7E75187D73AE872C38383F7DD2C870F6B5303FE9E519F38A5FA42E94358349EC59A4D9F30A7206A698981505A90561B1C069A32FC646EA08175EB203BDC3DD2A88CB020E80090CF69FCA6FD57E5A30436BC764</code></pre> <pre><code>auth_key = 2515112E2E96F7875445D5392ECC5C0A6BD132BB670689F8E1A7868BD66098C71AB5E5ADE9837840E70C641FD8C6C6509D60D2444B570BE02429CA2FF4E71DC0DEBBEBDA8BEF55B4803138CA2252F67C7F0037A9BC527B09D04D6A92C537B48D4FC1FA6800A0F5B29B418A2837EEAED7F737CF5AFE5F30EE083D1128C0B07EB27192521DBE3A4DC7787AB9F6D5B97DEA3EDA83C2D6CEBAF7BDED24A2B3C86AFF6302910CC41D18E4CDD38B1E80A51390ED997A3636CA925940835DBD0EEA2C3591E4B070F22BC994802130DBAC1B1841BF8551B449A79CA44AFD0B802CA9CF1A1562E3A107164A6209893972B64370F0F8FDF6FB4B4A96EE2EB420CF4C268645</code></pre>
<!-- end auth_key --> <!-- end auth_key -->
<h5><a class="anchor" href="#9-final-server-reply" id="9-final-server-reply" name="9-final-server-reply"><i class="anchor-icon"></i></a>9) Final server reply</h5> <h5><a class="anchor" href="#9-final-server-reply" id="9-final-server-reply" name="9-final-server-reply"><i class="anchor-icon"></i></a>9) Final server reply</h5>
<p>The server verifies and confirms that auth_key_hash is unique: since it's unique, it replies with the following:</p> <p>The server verifies and confirms that auth_key_hash is unique: since it's unique, it replies with the following:</p>
<!-- start dh_gen_ok --> <!-- start dh_gen_ok -->
<p>Received payload (excluding transport headers/trailers):</p> <p>Received payload (excluding transport headers/trailers):</p>
<pre><code>0000 | 00 00 00 00 00 00 00 00 01 48 59 45 B9 90 52 65 <pre><code>0000 | 00 00 00 00 00 00 00 00 01 2C 10 51 49 E1 53 65
0010 | 54 00 00 00 34 F7 CB 3B 26 BD 66 FA AC 98 75 CF 0010 | A0 00 00 00 34 F7 CB 3B C1 14 9F E5 F9 AE 1D E6
0020 | CE 27 A5 E6 95 9E E5 87 B2 1E 98 5D 3E C9 B7 EC 0020 | F9 70 7B F1 87 27 3F E6 AE 0B D3 44 AD A9 1E A2
0030 | D5 D4 83 29 13 BE 69 12 42 EB 2B 95 75 30 C2 95 0030 | E6 CF DD 57 46 53 37 E4 1C D4 E4 26 F1 55 06 E1
0040 | BC 81 F3 59 99 60 46 85</code></pre> 0040 | 5A 63 BB 3F D5 C1 AE 5A</code></pre>
<p>Payload (de)serialization:</p> <p>Payload (de)serialization:</p>
<pre><code>dh_gen_ok#3bcbf734 nonce:int128 server_nonce:int128 new_nonce_hash1:int128 = Set_client_DH_params_answer;</code></pre> <pre><code>dh_gen_ok#3bcbf734 nonce:int128 server_nonce:int128 new_nonce_hash1:int128 = Set_client_DH_params_answer;</code></pre>
<table class="table"> <table class="table">
@ -817,13 +817,13 @@ encrypted_data := AES256_ige_encrypt (data_with_hash, tmp_aes_key, tmp_aes_iv);<
<tr> <tr>
<td>message_id</td> <td>message_id</td>
<td>8, 8</td> <td>8, 8</td>
<td><code>01485945B9905265</code></td> <td><code>012C105149E15365</code></td>
<td>Message ID generated as specified <a href="/mtproto/description#message-identifier-msg-id">here »</a> (unixtime() &lt;&lt; 32) + (N*4)</td> <td>Message ID generated as specified <a href="/mtproto/description#message-identifier-msg-id">here »</a> (unixtime() &lt;&lt; 32) + (N*4)</td>
</tr> </tr>
<tr> <tr>
<td>message_length</td> <td>message_length</td>
<td>16, 4</td> <td>16, 4</td>
<td><code>54000000</code> (84 in decimal)</td> <td><code>A0000000</code> (160 in decimal)</td>
<td>Message body length</td> <td>Message body length</td>
</tr> </tr>
<tr> <tr>
@ -835,19 +835,19 @@ encrypted_data := AES256_ige_encrypt (data_with_hash, tmp_aes_key, tmp_aes_iv);<
<tr> <tr>
<td>nonce</td> <td>nonce</td>
<td>24, 16</td> <td>24, 16</td>
<td><code>26BD66FAAC9875CFCE27A5E6959EE587</code></td> <td><code>C1149FE5F9AE1DE6F9707BF187273FE6</code></td>
<td>Value generated by client in Step 1</td> <td>Value generated by client in Step 1</td>
</tr> </tr>
<tr> <tr>
<td>server_nonce</td> <td>server_nonce</td>
<td>40, 16</td> <td>40, 16</td>
<td><code>B21E985D3EC9B7ECD5D4832913BE6912</code></td> <td><code>AE0BD344ADA91EA2E6CFDD57465337E4</code></td>
<td>Value received from server in Step 2</td> <td>Value received from server in Step 2</td>
</tr> </tr>
<tr> <tr>
<td>new_nonce_hash1</td> <td>new_nonce_hash1</td>
<td>56, 16</td> <td>56, 16</td>
<td><code>42EB2B957530C295BC81F35999604685</code></td> <td><code>1CD4E426F15506E15A63BB3FD5C1AE5A</code></td>
<td>The 128 lower-order bits of SHA1 of the byte string derived from the <code>new_nonce</code> string by adding a single byte with the value of 1, 2, or 3, and followed by another 8 bytes with <code>auth_key_aux_hash</code>. Different values are required to prevent an intruder from changing server response dh_gen_ok into dh_gen_retry.</td> <td>The 128 lower-order bits of SHA1 of the byte string derived from the <code>new_nonce</code> string by adding a single byte with the value of 1, 2, or 3, and followed by another 8 bytes with <code>auth_key_aux_hash</code>. Different values are required to prevent an intruder from changing server response dh_gen_ok into dh_gen_retry.</td>
</tr> </tr>
</tbody> </tbody>

View file

@ -71,7 +71,7 @@
<tbody> <tbody>
<tr> <tr>
<td><a href="/constructor/exportedStoryLink">exportedStoryLink</a></td> <td><a href="/constructor/exportedStoryLink">exportedStoryLink</a></td>
<td> </td> <td>Represents a <a href="/api/stories#story-links">story deep link</a>.</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -142,7 +142,7 @@
</tr> </tr>
<tr> <tr>
<td><a href="/constructor/inputMediaStory">inputMediaStory</a></td> <td><a href="/constructor/inputMediaStory">inputMediaStory</a></td>
<td> </td> <td>Forwarded story</td>
</tr> </tr>
</tbody> </tbody>
</table></div> </table></div>

View file

@ -113,7 +113,7 @@
</tr> </tr>
<tr> <tr>
<td><a href="/constructor/inputPrivacyKeyAbout">inputPrivacyKeyAbout</a></td> <td><a href="/constructor/inputPrivacyKeyAbout">inputPrivacyKeyAbout</a></td>
<td> </td> <td>Whether people can see your bio</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -108,7 +108,7 @@
</tr> </tr>
<tr> <tr>
<td><a href="/constructor/inputPrivacyValueAllowCloseFriends">inputPrivacyValueAllowCloseFriends</a></td> <td><a href="/constructor/inputPrivacyValueAllowCloseFriends">inputPrivacyValueAllowCloseFriends</a></td>
<td> </td> <td>Allow only <a href="/api/privacy">close friends »</a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -74,7 +74,7 @@
</tr> </tr>
<tr> <tr>
<td><a href="/constructor/inputMediaAreaVenue">inputMediaAreaVenue</a></td> <td><a href="/constructor/inputMediaAreaVenue">inputMediaAreaVenue</a></td>
<td> </td> <td>Represents a <a href="/api/stories#media-areas">location tag</a> attached to a <a href="/api/stories">story</a>, with additional venue information.</td>
</tr> </tr>
<tr> <tr>
<td><a href="/constructor/mediaAreaGeoPoint">mediaAreaGeoPoint</a></td> <td><a href="/constructor/mediaAreaGeoPoint">mediaAreaGeoPoint</a></td>

View file

@ -69,15 +69,15 @@
<tbody> <tbody>
<tr> <tr>
<td><a href="/constructor/messagePeerVote">messagePeerVote</a></td> <td><a href="/constructor/messagePeerVote">messagePeerVote</a></td>
<td> </td> <td>How a peer voted in a poll</td>
</tr> </tr>
<tr> <tr>
<td><a href="/constructor/messagePeerVoteInputOption">messagePeerVoteInputOption</a></td> <td><a href="/constructor/messagePeerVoteInputOption">messagePeerVoteInputOption</a></td>
<td> </td> <td>How a peer voted in a poll (reduced constructor, returned if an <code>option</code> was provided to <a href="/method/messages.getPollVotes">messages.getPollVotes</a>)</td>
</tr> </tr>
<tr> <tr>
<td><a href="/constructor/messagePeerVoteMultiple">messagePeerVoteMultiple</a></td> <td><a href="/constructor/messagePeerVoteMultiple">messagePeerVoteMultiple</a></td>
<td> </td> <td>How a peer voted in a multiple-choice poll</td>
</tr> </tr>
</tbody> </tbody>
</table></div> </table></div>

View file

@ -72,7 +72,7 @@
</tr> </tr>
<tr> <tr>
<td><a href="/constructor/messageReplyStoryHeader">messageReplyStoryHeader</a></td> <td><a href="/constructor/messageReplyStoryHeader">messageReplyStoryHeader</a></td>
<td> </td> <td>Represents a reply to a <a href="/api/stories">story</a></td>
</tr> </tr>
</tbody> </tbody>
</table></div> </table></div>

View file

@ -67,7 +67,7 @@
<tbody> <tbody>
<tr> <tr>
<td><a href="/constructor/peerStories">peerStories</a></td> <td><a href="/constructor/peerStories">peerStories</a></td>
<td> </td> <td><a href="/api/stories">Stories</a> associated to a peer</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -113,7 +113,7 @@
</tr> </tr>
<tr> <tr>
<td><a href="/constructor/privacyKeyAbout">privacyKeyAbout</a></td> <td><a href="/constructor/privacyKeyAbout">privacyKeyAbout</a></td>
<td> </td> <td>Whether people can see your bio</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -108,7 +108,7 @@
</tr> </tr>
<tr> <tr>
<td><a href="/constructor/privacyValueAllowCloseFriends">privacyValueAllowCloseFriends</a></td> <td><a href="/constructor/privacyValueAllowCloseFriends">privacyValueAllowCloseFriends</a></td>
<td> </td> <td>Allow only <a href="/api/privacy">close friends »</a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -72,11 +72,11 @@
<tbody> <tbody>
<tr> <tr>
<td><a href="/constructor/stories.allStoriesNotModified">stories.allStoriesNotModified</a></td> <td><a href="/constructor/stories.allStoriesNotModified">stories.allStoriesNotModified</a></td>
<td> </td> <td>The list of active (or active and hidden) <a href="/api/stories#watching-stories">stories</a> has not changed.</td>
</tr> </tr>
<tr> <tr>
<td><a href="/constructor/stories.allStories">stories.allStories</a></td> <td><a href="/constructor/stories.allStories">stories.allStories</a></td>
<td> </td> <td>Full list of active (or active and hidden) <a href="/api/stories#watching-stories">stories</a>.</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -71,7 +71,7 @@
<tbody> <tbody>
<tr> <tr>
<td><a href="/constructor/stories.peerStories">stories.peerStories</a></td> <td><a href="/constructor/stories.peerStories">stories.peerStories</a></td>
<td> </td> <td><a href="/api/stories#watching-stories">Active story list</a> of a specific peer.</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -73,7 +73,7 @@
<tbody> <tbody>
<tr> <tr>
<td><a href="/constructor/stories.stories">stories.stories</a></td> <td><a href="/constructor/stories.stories">stories.stories</a></td>
<td> </td> <td>List of <a href="/api/stories#pinnedarchived-stories">stories</a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -71,7 +71,7 @@
<tbody> <tbody>
<tr> <tr>
<td><a href="/constructor/stories.storyViews">stories.storyViews</a></td> <td><a href="/constructor/stories.storyViews">stories.storyViews</a></td>
<td> </td> <td>Reaction and view counters for a list of <a href="/api/stories">stories</a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -71,7 +71,7 @@
<tbody> <tbody>
<tr> <tr>
<td><a href="/constructor/stories.storyViewsList">stories.storyViewsList</a></td> <td><a href="/constructor/stories.storyViewsList">stories.storyViewsList</a></td>
<td> </td> <td>Reaction and view counters for a <a href="/api/stories">story</a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>