Update content of files

This commit is contained in:
GitHub Action 2023-10-03 18:51:13 +00:00
parent 7155c11a3c
commit 1138392865
43 changed files with 524 additions and 279 deletions

View file

@ -2,12 +2,14 @@
<html class="">
<head>
<meta charset="utf-8">
<title>Page not found</title>
<title>Stories</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="">
<meta property="og:title" content="Page not found">
<meta property="description" content="Telegram users and channels can easily post stories through the API.
Posting stories">
<meta property="og:title" content="Stories">
<meta property="og:image" content="">
<meta property="og:description" content="">
<meta property="og:description" content="Telegram users and channels can easily post stories through the API.
Posting stories">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -39,10 +41,13 @@
<div class="container clearfix">
<div class="dev_page">
<div id="dev_page_content_wrap" class=" ">
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li></li></ul></div>
<h1 id="dev_page_title">Page not found</h1>
<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="/api/stories" >Stories</a></li></ul></div>
<h1 id="dev_page_title">Stories</h1>
<div id="dev_page_content">The page has not been saved</div>
<div id="dev_page_content"><!-- scroll_nav -->
<p>Telegram users and channels can easily post <a href="https://telegram.org/blog/stories">stories</a> through the API.</p>
<h2><a class="anchor" href="#posting-stories" id="posting-stories" name="posting-stories"><i class="anchor-icon"></i></a>Posting stories</h2></div>
</div>
@ -109,8 +114,11 @@
</div>
</div>
<script src="/js/main.js?47"></script>
<script>backToTopInit("Go up");
<script src="/js/jquery.min.js?1"></script>
<script src="/js/bootstrap.min.js?1"></script>
<script>window.initDevPageNav&&initDevPageNav();
backToTopInit("Go up");
removePreloadInit();
</script>
</body>

File diff suppressed because one or more lines are too long

View file

@ -12,8 +12,7 @@ codes
Vector&lt;string&gt;
 
Result
Bool
Bots can use this method">
Bool">
<meta property="og:title" content="account.invalidateSignInCodes">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
@ -24,8 +23,7 @@ codes
Vector&lt;string&gt;
 
Result
Bool
Bots can use this method">
Bool">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -94,8 +92,7 @@ Bots can use this method">
</tbody>
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Bool">Bool</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<p><a href="/type/Bool">Bool</a></p></div>
</div>

View file

@ -118,11 +118,6 @@
<td>FIRSTNAME_INVALID</td>
<td>The first name is invalid.</td>
</tr>
<tr>
<td>-505</td>
<td>Nothing stored</td>
<td> </td>
</tr>
</tbody>
</table></div>

View file

@ -127,7 +127,7 @@
</table>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3>
<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="#bots-an-introduction-for-developers" id="bots-an-introduction-for-developers" name="bots-an-introduction-for-developers"><i class="anchor-icon"></i></a><a href="/bots">Bots: An introduction for developers</a></h4></div>
<h4><a class="anchor" href="#bots" id="bots" name="bots"><i class="anchor-icon"></i></a><a href="/bots">Bots</a></h4></div>
</div>

View file

@ -153,11 +153,6 @@
<td>SMS_CODE_CREATE_FAILED</td>
<td>An error occurred while creating the SMS code.</td>
</tr>
<tr>
<td>400</td>
<td>Sorry, too many invalid attempts to enter your password. Please try again later.</td>
<td> </td>
</tr>
</tbody>
</table></div>

View file

@ -13,7 +13,13 @@ InputUser
 
Result
Updates
Bots can use this method">
Possible errors
Code
Type
Description
400
BOT_INVALID
This…">
<meta property="og:title" content="bots.allowSendMessage">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
@ -25,7 +31,13 @@ InputUser
 
Result
Updates
Bots can use this method">
Possible errors
Code
Type
Description
400
BOT_INVALID
This…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -100,7 +112,23 @@ Bots can use this method">
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Updates">Updates</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>400</td>
<td>BOT_INVALID</td>
<td>This is not a valid bot.</td>
</tr>
</tbody>
</table></div>
</div>

View file

@ -13,7 +13,13 @@ InputUser
 
Result
Bool
Bots can use this method">
Possible errors
Code
Type
Description
400
BOT_INVALID
This…">
<meta property="og:title" content="bots.canSendMessage">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
@ -25,7 +31,13 @@ InputUser
 
Result
Bool
Bots can use this method">
Possible errors
Code
Type
Description
400
BOT_INVALID
This…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -95,7 +107,23 @@ Bots can use this method">
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Bool">Bool</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>400</td>
<td>BOT_INVALID</td>
<td>This is not a valid bot.</td>
</tr>
</tbody>
</table></div>
</div>

View file

@ -19,7 +19,7 @@ DataJSON
 
Result
DataJSON
Bots can use…">
Possible errors…">
<meta property="og:title" content="bots.invokeWebViewCustomMethod">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
@ -37,7 +37,7 @@ DataJSON
 
Result
DataJSON
Bots can use…">
Possible errors…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -116,7 +116,23 @@ Bots can use…">
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/DataJSON">DataJSON</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>400</td>
<td>BOT_INVALID</td>
<td>This is not a valid bot.</td>
</tr>
</tbody>
</table></div>
</div>

View file

@ -16,7 +16,10 @@ bytes
 
Result
Bool
Bots can use this method">
Possible errors
Code
Type
Description…">
<meta property="og:title" content="channels.clickSponsoredMessage">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
@ -31,7 +34,10 @@ bytes
 
Result
Bool
Bots can use this method">
Possible errors
Code
Type
Description…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -106,7 +112,23 @@ Bots can use this method">
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Bool">Bool</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>400</td>
<td>CHANNEL_INVALID</td>
<td>The provided channel is invalid.</td>
</tr>
</tbody>
</table></div>
</div>

View file

@ -134,11 +134,6 @@
<td>Invalid message ID provided.</td>
</tr>
<tr>
<td>-505</td>
<td>Nothing stored</td>
<td> </td>
</tr>
<tr>
<td>400</td>
<td>PARTICIPANT_ID_INVALID</td>
<td>The specified participant ID is invalid.</td>

View file

@ -95,7 +95,7 @@
<tr>
<td>400</td>
<td>INPUT_CHATLIST_INVALID</td>
<td> </td>
<td>The specified folder is invalid.</td>
</tr>
</tbody>
</table>

View file

@ -12,8 +12,7 @@ id
Vector&lt;long&gt;
 
Result
Bool
Bots can use this method">
Bool">
<meta property="og:title" content="contacts.editCloseFriends">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
@ -24,8 +23,7 @@ id
Vector&lt;long&gt;
 
Result
Bool
Bots can use this method">
Bool">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -94,8 +92,7 @@ Bots can use this method">
</tbody>
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Bool">Bool</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<p><a href="/type/Bool">Bool</a></p></div>
</div>

View file

@ -114,7 +114,6 @@ Vector&lt;InputPeer&gt;…">
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Bool">Bool</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3>
<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="#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></div>

View file

@ -130,11 +130,6 @@
<td>The specified user was deleted.</td>
</tr>
<tr>
<td>-505</td>
<td>Nothing stored</td>
<td> </td>
</tr>
<tr>
<td>400</td>
<td>USERS_TOO_FEW</td>
<td>Not enough users (to create a chat, for example).</td>

View file

@ -289,11 +289,6 @@
<td>Invalid message ID provided.</td>
</tr>
<tr>
<td>-505</td>
<td>Nothing stored</td>
<td> </td>
</tr>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>

View file

@ -115,6 +115,11 @@
</tr>
<tr>
<td>400</td>
<td>CHANNEL_INVALID</td>
<td>The provided channel is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>CHANNEL_PRIVATE</td>
<td>You haven't joined this channel/supergroup.</td>
</tr>

View file

@ -139,11 +139,6 @@
<td>Invalid message ID provided.</td>
</tr>
<tr>
<td>-505</td>
<td>Nothing stored</td>
<td> </td>
</tr>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>

View file

@ -117,8 +117,7 @@ Result…">
</tbody>
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Updates">Updates</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<p><a href="/type/Updates">Updates</a></p></div>
</div>

View file

@ -13,7 +13,12 @@ InputPeer
 
Result
Bool
Bots can use this method">
Possible errors
Code
Type
Description
400
PEER_ID_INVALID…">
<meta property="og:title" content="stories.applyBoost">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
@ -25,7 +30,12 @@ InputPeer
 
Result
Bool
Bots can use this method">
Possible errors
Code
Type
Description
400
PEER_ID_INVALID…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -95,7 +105,23 @@ Bots can use this method">
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Bool">Bool</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>
</tbody>
</table></div>
</div>

View file

@ -13,7 +13,10 @@ InputPeer
 
Result
stories.CanApplyBoostResult
Bots can use this method">
Possible errors
Code
Type
Description…">
<meta property="og:title" content="stories.canApplyBoost">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
@ -25,7 +28,10 @@ InputPeer
 
Result
stories.CanApplyBoostResult
Bots can use this method">
Possible errors
Code
Type
Description…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -95,7 +101,23 @@ Bots can use this method">
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/stories.CanApplyBoostResult">stories.CanApplyBoostResult</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>
</tbody>
</table></div>
</div>

View file

@ -4,34 +4,10 @@
<meta charset="utf-8">
<title>stories.deleteStories</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
Name
Type
Description
peer
InputPeer
 
id
Vector&lt;int&gt;
 
Result
Vector&lt;int&gt;
Bots can use this method">
<meta property="description" content="Deletes some posted stories.">
<meta property="og:title" content="stories.deleteStories">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
peer
InputPeer
 
id
Vector&lt;int&gt;
 
Result
Vector&lt;int&gt;
Bots can use this method">
<meta property="og:description" content="Deletes some posted stories.">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -66,7 +42,8 @@ Bots can use this method">
<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="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/stories.deleteStories" >stories.deleteStories</a></li></ul></div>
<h1 id="dev_page_title">stories.deleteStories</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>Deletes some posted <a href="/api/stories">stories</a>.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>
@ -93,18 +70,36 @@ Bots can use this method">
<tr>
<td><strong>peer</strong></td>
<td style="text-align: center;"><a href="/type/InputPeer">InputPeer</a></td>
<td> </td>
<td>Channel/user from where to delete stories.</td>
</tr>
<tr>
<td><strong>id</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/int">int</a>&gt;</td>
<td> </td>
<td>IDs of stories to delete.</td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/int">int</a>&gt;</p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>
</tbody>
</table>
<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></div>
</div>

View file

@ -16,7 +16,10 @@ int
 
Result
ExportedStoryLink
Bots can use this method">
Possible errors
Code
Type
Description…">
<meta property="og:title" content="stories.exportStoryLink">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
@ -31,7 +34,10 @@ int
 
Result
ExportedStoryLink
Bots can use this method">
Possible errors
Code
Type
Description…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -105,7 +111,23 @@ Bots can use this method">
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/ExportedStoryLink">ExportedStoryLink</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>
</tbody>
</table></div>
</div>

View file

@ -7,15 +7,13 @@
<meta property="description" content="Parameters
This constructor does not require any parameters.
Result
Updates
Bots can use this method">
Updates">
<meta property="og:title" content="stories.getAllReadPeerStories">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
This constructor does not require any parameters.
Result
Updates
Bots can use this method">
Updates">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -74,8 +72,7 @@ Bots can use this method">
<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>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Updates">Updates</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<p><a href="/type/Updates">Updates</a></p></div>
</div>

View file

@ -117,8 +117,7 @@ state…">
</tbody>
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/stories.AllStories">stories.AllStories</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<p><a href="/type/stories.AllStories">stories.AllStories</a></p></div>
</div>

View file

@ -12,7 +12,12 @@ peer
InputPeer
 
Result
stories.BoostsStatus">
stories.BoostsStatus
Possible errors
Code
Type
Description
400…">
<meta property="og:title" content="stories.getBoostsStatus">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
@ -23,7 +28,12 @@ peer
InputPeer
 
Result
stories.BoostsStatus">
stories.BoostsStatus
Possible errors
Code
Type
Description
400…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -91,7 +101,24 @@ stories.BoostsStatus">
</tbody>
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/stories.BoostsStatus">stories.BoostsStatus</a></p></div>
<p><a href="/type/stories.BoostsStatus">stories.BoostsStatus</a></p>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>
</tbody>
</table></div>
</div>

View file

@ -7,15 +7,13 @@
<meta property="description" content="Parameters
This constructor does not require any parameters.
Result
messages.Chats
Bots can use this method">
messages.Chats">
<meta property="og:title" content="stories.getChatsToSend">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
This constructor does not require any parameters.
Result
messages.Chats
Bots can use this method">
messages.Chats">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -69,8 +67,7 @@ Bots can use this method">
<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>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/messages.Chats">messages.Chats</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<p><a href="/type/messages.Chats">messages.Chats</a></p></div>
</div>

View file

@ -12,8 +12,7 @@ id
Vector&lt;InputPeer&gt;
 
Result
Vector&lt;int&gt;
Bots can use this method">
Vector&lt;int&gt;">
<meta property="og:title" content="stories.getPeerMaxIDs">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
@ -24,8 +23,7 @@ id
Vector&lt;InputPeer&gt;
 
Result
Vector&lt;int&gt;
Bots can use this method">
Vector&lt;int&gt;">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -92,8 +90,7 @@ Bots can use this method">
</tbody>
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/int">int</a>&gt;</p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<p><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/int">int</a>&gt;</p></div>
</div>

View file

@ -13,7 +13,11 @@ InputPeer
 
Result
stories.PeerStories
Bots can use this method">
Possible errors
Code
Type
Description
400…">
<meta property="og:title" content="stories.getPeerStories">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
@ -25,7 +29,11 @@ InputPeer
 
Result
stories.PeerStories
Bots can use this method">
Possible errors
Code
Type
Description
400…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -94,7 +102,23 @@ Bots can use this method">
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/stories.PeerStories">stories.PeerStories</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>
</tbody>
</table></div>
</div>

View file

@ -106,7 +106,28 @@ limit…">
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/stories.Stories">stories.Stories</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>USER_ID_INVALID</td>
<td>The provided user ID is invalid.</td>
</tr>
</tbody>
</table>
<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="#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></div>

View file

@ -106,7 +106,23 @@ limit…">
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/stories.Stories">stories.Stories</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>
</tbody>
</table>
<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="#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></div>

View file

@ -16,7 +16,9 @@ Vector&lt;int&gt;
 
Result
stories.StoryViews
Bots can use this method">
Possible errors
Code
Type…">
<meta property="og:title" content="stories.getStoriesViews">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
@ -31,7 +33,9 @@ Vector&lt;int&gt;
 
Result
stories.StoryViews
Bots can use this method">
Possible errors
Code
Type…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -105,7 +109,23 @@ Bots can use this method">
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/stories.StoryViews">stories.StoryViews</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>
</tbody>
</table></div>
</div>

View file

@ -131,7 +131,23 @@ reactions_first…">
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/stories.StoryViewsList">stories.StoryViewsList</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>
</tbody>
</table>
<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="#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></div>

View file

@ -4,34 +4,10 @@
<meta charset="utf-8">
<title>stories.incrementStoryViews</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
Name
Type
Description
peer
InputPeer
 
id
Vector&lt;int&gt;
 
Result
Bool
Bots can use this method">
<meta property="description" content="Increment the view counter of one or more stories.">
<meta property="og:title" content="stories.incrementStoryViews">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
peer
InputPeer
 
id
Vector&lt;int&gt;
 
Result
Bool
Bots can use this method">
<meta property="og:description" content="Increment the view counter of one or more stories.">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -66,7 +42,8 @@ Bots can use this method">
<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="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/stories.incrementStoryViews" >stories.incrementStoryViews</a></li></ul></div>
<h1 id="dev_page_title">stories.incrementStoryViews</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>Increment the view counter of one or more stories.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>
@ -95,18 +72,34 @@ Bots can use this method">
<tr>
<td><strong>peer</strong></td>
<td style="text-align: center;"><a href="/type/InputPeer">InputPeer</a></td>
<td> </td>
<td>Peer where the stories were posted.</td>
</tr>
<tr>
<td><strong>id</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/int">int</a>&gt;</td>
<td> </td>
<td>IDs of the stories.</td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Bool">Bool</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>
</tbody>
</table></div>
</div>

View file

@ -10,16 +10,12 @@ Type
Description
peer
InputPeer
 
The peer whose stories should be marked as read.
max_id
int
 
Result
Vector&lt;int&gt;
Possible errors
Code
Type
Description…">
Vector&lt;int&gt;…">
<meta property="og:title" content="stories.readStories">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
@ -28,16 +24,12 @@ Type
Description
peer
InputPeer
 
The peer whose stories should be marked as read.
max_id
int
 
Result
Vector&lt;int&gt;
Possible errors
Code
Type
Description…">
Vector&lt;int&gt;…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -99,7 +91,7 @@ Description…">
<tr>
<td><strong>peer</strong></td>
<td style="text-align: center;"><a href="/type/InputPeer">InputPeer</a></td>
<td> </td>
<td>The peer whose stories should be marked as read.</td>
</tr>
<tr>
<td><strong>max_id</strong></td>
@ -125,9 +117,13 @@ Description…">
<td>MAX_ID_INVALID</td>
<td>The provided max ID is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
</table></div>
</div>

View file

@ -4,46 +4,10 @@
<meta charset="utf-8">
<title>stories.report</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
Name
Type
Description
peer
InputPeer
 
id
Vector&lt;int&gt;
 
reason
ReportReason
 
message
string
 
Result
Bool
Bots…">
<meta property="description" content="Report a story.">
<meta property="og:title" content="stories.report">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
peer
InputPeer
 
id
Vector&lt;int&gt;
 
reason
ReportReason
 
message
string
 
Result
Bool
Bots…">
<meta property="og:description" content="Report a story.">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -78,7 +42,8 @@ Bots…">
<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="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/stories.report" >stories.report</a></li></ul></div>
<h1 id="dev_page_title">stories.report</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>Report a story.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>
@ -107,28 +72,44 @@ Bots…">
<tr>
<td><strong>peer</strong></td>
<td style="text-align: center;"><a href="/type/InputPeer">InputPeer</a></td>
<td> </td>
<td>The peer that uploaded the story.</td>
</tr>
<tr>
<td><strong>id</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/int">int</a>&gt;</td>
<td> </td>
<td>IDs of the stories to report.</td>
</tr>
<tr>
<td><strong>reason</strong></td>
<td style="text-align: center;"><a href="/type/ReportReason">ReportReason</a></td>
<td> </td>
<td>Why are these storeis being reported.</td>
</tr>
<tr>
<td><strong>message</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td>
<td> </td>
<td>Comment for report moderation</td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Bool">Bool</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>
</tbody>
</table></div>
</div>

View file

@ -138,17 +138,21 @@ InputPeer
<tbody>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>REACTION_INVALID</td>
<td>The specified reaction is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>STORY_ID_EMPTY</td>
<td> </td>
<td>You specified no story IDs.</td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
</table></div>
</div>

View file

@ -4,32 +4,10 @@
<meta charset="utf-8">
<title>stories.sendStory</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
Name
Type
Description
flags
#
Flags, see TL conditional fields
pinned
flags.2?true
 
noforwards
flags.4?true…">
<meta property="description" content="Uploads a Telegram Story.">
<meta property="og:title" content="stories.sendStory">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
flags
#
Flags, see TL conditional fields
pinned
flags.2?true
 
noforwards
flags.4?true…">
<meta property="og:description" content="Uploads a Telegram Story.">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -64,7 +42,8 @@ flags.4?true…">
<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="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/stories.sendStory" >stories.sendStory</a></li></ul></div>
<h1 id="dev_page_title">stories.sendStory</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>Uploads a <a href="/api/stories">Telegram Story</a>.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 164 <b class="caret"></b></a>
@ -108,7 +87,7 @@ flags.4?true…">
<tr>
<td><strong>noforwards</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.4?<a href="/constructor/true">true</a></td>
<td> </td>
<td>If set, disables forwards and story download functionality.</td>
</tr>
<tr>
<td><strong>peer</strong></td>
@ -118,7 +97,7 @@ flags.4?true…">
<tr>
<td><strong>media</strong></td>
<td style="text-align: center;"><a href="/type/InputMedia">InputMedia</a></td>
<td> </td>
<td>The media file.</td>
</tr>
<tr>
<td><strong>media_areas</strong></td>
@ -128,7 +107,7 @@ flags.4?true…">
<tr>
<td><strong>caption</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> </td>
<td>Story caption.</td>
</tr>
<tr>
<td><strong>entities</strong></td>
@ -143,7 +122,7 @@ flags.4?true…">
<tr>
<td><strong>random_id</strong></td>
<td style="text-align: center;"><a href="/type/long">long</a></td>
<td> </td>
<td>Unique client message ID required to prevent message resending.</td>
</tr>
<tr>
<td><strong>period</strong></td>
@ -177,12 +156,12 @@ flags.4?true…">
<tr>
<td>400</td>
<td>MEDIA_FILE_INVALID</td>
<td> </td>
<td>The specified media file is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>MEDIA_TYPE_INVALID</td>
<td> </td>
<td>The specified media type cannot be used in stories.</td>
</tr>
<tr>
<td>400</td>
@ -191,6 +170,11 @@ flags.4?true…">
</tr>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>PREMIUM_ACCOUNT_REQUIRED</td>
<td>A premium account is required to execute this action.</td>
</tr>
@ -201,10 +185,10 @@ flags.4?true…">
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3>
<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="#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></div>
<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></div>
</div>

View file

@ -16,7 +16,12 @@ Bool
 
Result
Bool
Bots can use this method">
Possible errors
Code
Type
Description
400
PEER_ID_INVALID…">
<meta property="og:title" content="stories.togglePeerStoriesHidden">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
@ -31,7 +36,12 @@ Bool
 
Result
Bool
Bots can use this method">
Possible errors
Code
Type
Description
400
PEER_ID_INVALID…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -106,7 +116,23 @@ Bots can use this method">
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Bool">Bool</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>
</tbody>
</table></div>
</div>

View file

@ -19,7 +19,8 @@ Bool
 
Result
Vector&lt;int&gt;
Bots can use this method">
Possible errors
Code…">
<meta property="og:title" content="stories.togglePinned">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
@ -37,7 +38,8 @@ Bool
 
Result
Vector&lt;int&gt;
Bots can use this method">
Possible errors
Code…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -115,7 +117,23 @@ Bots can use this method">
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/int">int</a>&gt;</p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>
</tbody>
</table></div>
</div>

View file

@ -107,11 +107,6 @@
<td>Invalid message ID provided.</td>
</tr>
<tr>
<td>-505</td>
<td>Nothing stored</td>
<td> </td>
</tr>
<tr>
<td>400</td>
<td>USER_BANNED_IN_CHANNEL</td>
<td>You're banned from sending messages in supergroups/channels.</td>

View file

@ -685,7 +685,7 @@
</tr>
<tr>
<td><a href="/method/account.changeAuthorizationSettings">account.changeAuthorizationSettings</a></td>
<td>Change authorization settings</td>
<td>Change settings related to the current session.</td>
</tr>
<tr>
<td><a href="/method/messages.setDefaultReaction">messages.setDefaultReaction</a></td>
@ -829,11 +829,11 @@
</tr>
<tr>
<td><a href="/method/stories.incrementStoryViews">stories.incrementStoryViews</a></td>
<td> </td>
<td>Increment the view counter of one or more stories.</td>
</tr>
<tr>
<td><a href="/method/stories.report">stories.report</a></td>
<td> </td>
<td>Report a story.</td>
</tr>
<tr>
<td><a href="/method/contacts.setBlocked">contacts.setBlocked</a></td>