mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-01 12:42:07 +01:00
Update content of files
This commit is contained in:
parent
c032440b0c
commit
d056884d5a
13 changed files with 108 additions and 116 deletions
|
@ -427,7 +427,7 @@ Note that the stickerset can be fetched using <a href="/constructor/inputSticker
|
||||||
<h4><a class="anchor" href="#caption-length-limit-default" id="caption-length-limit-default" name="caption-length-limit-default"><i class="anchor-icon"></i></a><code>caption_length_limit_default</code></h4>
|
<h4><a class="anchor" href="#caption-length-limit-default" id="caption-length-limit-default" name="caption-length-limit-default"><i class="anchor-icon"></i></a><code>caption_length_limit_default</code></h4>
|
||||||
<p>The maximum UTF-8 length of media captions sendable by non-<a href="/api/premium">Premium</a> users (integer)</p>
|
<p>The maximum UTF-8 length of media captions sendable by non-<a href="/api/premium">Premium</a> users (integer)</p>
|
||||||
<h4><a class="anchor" href="#caption-length-limit-premium" id="caption-length-limit-premium" name="caption-length-limit-premium"><i class="anchor-icon"></i></a><code>caption_length_limit_premium</code></h4>
|
<h4><a class="anchor" href="#caption-length-limit-premium" id="caption-length-limit-premium" name="caption-length-limit-premium"><i class="anchor-icon"></i></a><code>caption_length_limit_premium</code></h4>
|
||||||
<p>The maximum UTF-8 length of media captions sendable by non-<a href="/api/premium">Premium</a> users (integer)</p>
|
<p>The maximum UTF-8 length of media captions sendable by <a href="/api/premium">Premium</a> users (integer)</p>
|
||||||
<h4><a class="anchor" href="#upload-max-fileparts-default" id="upload-max-fileparts-default" name="upload-max-fileparts-default"><i class="anchor-icon"></i></a><code>upload_max_fileparts_default</code></h4>
|
<h4><a class="anchor" href="#upload-max-fileparts-default" id="upload-max-fileparts-default" name="upload-max-fileparts-default"><i class="anchor-icon"></i></a><code>upload_max_fileparts_default</code></h4>
|
||||||
<p>The maximum number of file parts uploadable by non-<a href="/api/premium">Premium</a> users (integer, the maximum file size can be extrapolated by multiplying this value by <code>524288</code>, the biggest possible chunk size)</p>
|
<p>The maximum number of file parts uploadable by non-<a href="/api/premium">Premium</a> users (integer, the maximum file size can be extrapolated by multiplying this value by <code>524288</code>, the biggest possible chunk size)</p>
|
||||||
<h4><a class="anchor" href="#upload-max-fileparts-premium" id="upload-max-fileparts-premium" name="upload-max-fileparts-premium"><i class="anchor-icon"></i></a><code>upload_max_fileparts_premium</code></h4>
|
<h4><a class="anchor" href="#upload-max-fileparts-premium" id="upload-max-fileparts-premium" name="upload-max-fileparts-premium"><i class="anchor-icon"></i></a><code>upload_max_fileparts_premium</code></h4>
|
||||||
|
@ -466,8 +466,17 @@ Note that the stickerset can be fetched using <a href="/constructor/inputSticker
|
||||||
<h4><a class="anchor" href="#story-expiring-limit-default" id="story-expiring-limit-default" name="story-expiring-limit-default"><i class="anchor-icon"></i></a><code>story_expiring_limit_default</code></h4>
|
<h4><a class="anchor" href="#story-expiring-limit-default" id="story-expiring-limit-default" name="story-expiring-limit-default"><i class="anchor-icon"></i></a><code>story_expiring_limit_default</code></h4>
|
||||||
<h4><a class="anchor" href="#story-expiring-limit-premium" id="story-expiring-limit-premium" name="story-expiring-limit-premium"><i class="anchor-icon"></i></a><code>story_expiring_limit_premium</code></h4>
|
<h4><a class="anchor" href="#story-expiring-limit-premium" id="story-expiring-limit-premium" name="story-expiring-limit-premium"><i class="anchor-icon"></i></a><code>story_expiring_limit_premium</code></h4>
|
||||||
<h4><a class="anchor" href="#story-caption-length-limit-premium" id="story-caption-length-limit-premium" name="story-caption-length-limit-premium"><i class="anchor-icon"></i></a><code>story_caption_length_limit_premium</code></h4>
|
<h4><a class="anchor" href="#story-caption-length-limit-premium" id="story-caption-length-limit-premium" name="story-caption-length-limit-premium"><i class="anchor-icon"></i></a><code>story_caption_length_limit_premium</code></h4>
|
||||||
|
<p>The maximum UTF-8 length of story captions for <a href="/api/premium">Premium</a> users (integer)</p>
|
||||||
<h4><a class="anchor" href="#story-caption-length-limit-default" id="story-caption-length-limit-default" name="story-caption-length-limit-default"><i class="anchor-icon"></i></a><code>story_caption_length_limit_default</code></h4>
|
<h4><a class="anchor" href="#story-caption-length-limit-default" id="story-caption-length-limit-default" name="story-caption-length-limit-default"><i class="anchor-icon"></i></a><code>story_caption_length_limit_default</code></h4>
|
||||||
|
<p>The maximum UTF-8 length of story captions for non-<a href="/api/premium">Premium</a> users (integer)</p>
|
||||||
<h4><a class="anchor" href="#stories-posting" id="stories-posting" name="stories-posting"><i class="anchor-icon"></i></a><code>stories_posting</code></h4>
|
<h4><a class="anchor" href="#stories-posting" id="stories-posting" name="stories-posting"><i class="anchor-icon"></i></a><code>stories_posting</code></h4>
|
||||||
|
<p>Indicates whether users can post stories. (string)</p>
|
||||||
|
<p>One of:</p>
|
||||||
|
<ul>
|
||||||
|
<li><code>enabled</code> - Any user can post stories.</li>
|
||||||
|
<li><code>premium</code> - Only users with a <a href="/api/premium">Premium</a> subscription can post stories.</li>
|
||||||
|
<li><code>disabled</code> - Users can't post stories.</li>
|
||||||
|
</ul>
|
||||||
<h4><a class="anchor" href="#stories-stealth-past-period" id="stories-stealth-past-period" name="stories-stealth-past-period"><i class="anchor-icon"></i></a><code>stories_stealth_past_period</code></h4>
|
<h4><a class="anchor" href="#stories-stealth-past-period" id="stories-stealth-past-period" name="stories-stealth-past-period"><i class="anchor-icon"></i></a><code>stories_stealth_past_period</code></h4>
|
||||||
<p>Enabling <a href="/api/stories#stealth-mode">stories stealth mode</a> with the <code>past</code> flag will erase views of any story opened in the past <code>stories_stealth_past_period</code> seconds. (integer)</p>
|
<p>Enabling <a href="/api/stories#stealth-mode">stories stealth mode</a> with the <code>past</code> flag will erase views of any story opened in the past <code>stories_stealth_past_period</code> seconds. (integer)</p>
|
||||||
<h4><a class="anchor" href="#stories-stealth-future-period" id="stories-stealth-future-period" name="stories-stealth-future-period"><i class="anchor-icon"></i></a><code>stories_stealth_future_period</code></h4>
|
<h4><a class="anchor" href="#stories-stealth-future-period" id="stories-stealth-future-period" name="stories-stealth-future-period"><i class="anchor-icon"></i></a><code>stories_stealth_future_period</code></h4>
|
||||||
|
|
|
@ -60,10 +60,10 @@
|
||||||
<li>Added <a href="/method/stories.getPeerMaxIDs">stories.getPeerMaxIDs</a> - </li>
|
<li>Added <a href="/method/stories.getPeerMaxIDs">stories.getPeerMaxIDs</a> - </li>
|
||||||
<li>Added <a href="/method/stories.getChatsToSend">stories.getChatsToSend</a> - </li>
|
<li>Added <a href="/method/stories.getChatsToSend">stories.getChatsToSend</a> - </li>
|
||||||
<li>Added <a href="/method/stories.togglePeerStoriesHidden">stories.togglePeerStoriesHidden</a> - </li>
|
<li>Added <a href="/method/stories.togglePeerStoriesHidden">stories.togglePeerStoriesHidden</a> - </li>
|
||||||
<li>Added <a href="/method/stories.getBoostsStatus">stories.getBoostsStatus</a> - </li>
|
<li>Added <a href="/method/stories.getBoostsStatus">stories.getBoostsStatus</a> - Get the current <a href="/api/stories#boosts">boost status</a> of a channel, see <a href="/api/stories#boosts">here »</a> for more info on boosts.</li>
|
||||||
<li>Added <a href="/method/stories.getBoostersList">stories.getBoostersList</a> - </li>
|
<li>Added <a href="/method/stories.getBoostersList">stories.getBoostersList</a> - Obtain info about the users currently <a href="/api/stories#boosts">boosting</a> a channel, see <a href="/api/stories#boosts">here »</a> for more info about boosts.</li>
|
||||||
<li>Added <a href="/method/stories.canApplyBoost">stories.canApplyBoost</a> - </li>
|
<li>Added <a href="/method/stories.canApplyBoost">stories.canApplyBoost</a> - Check whether a channel can be <a href="/api/stories#boosts">boosted, see here for more info »</a>.</li>
|
||||||
<li>Added <a href="/method/stories.applyBoost">stories.applyBoost</a> - </li>
|
<li>Added <a href="/method/stories.applyBoost">stories.applyBoost</a> - <a href="/api/stories#boosts">Boost »</a> a <a href="/api/channel">channel</a>, leveling it up and granting it permission to post <a href="/api/stories">stories »</a>.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h5><a class="anchor" href="#changed-methods" id="changed-methods" name="changed-methods"><i class="anchor-icon"></i></a>Changed Methods</h5>
|
<h5><a class="anchor" href="#changed-methods" id="changed-methods" name="changed-methods"><i class="anchor-icon"></i></a>Changed Methods</h5>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -107,11 +107,11 @@
|
||||||
<li>Added <a href="/constructor/mediaAreaSuggestedReaction">mediaAreaSuggestedReaction</a> - </li>
|
<li>Added <a href="/constructor/mediaAreaSuggestedReaction">mediaAreaSuggestedReaction</a> - </li>
|
||||||
<li>Added <a href="/constructor/peerStories">peerStories</a> - </li>
|
<li>Added <a href="/constructor/peerStories">peerStories</a> - </li>
|
||||||
<li>Added <a href="/constructor/stories.peerStories">stories.peerStories</a> - </li>
|
<li>Added <a href="/constructor/stories.peerStories">stories.peerStories</a> - </li>
|
||||||
<li>Added <a href="/constructor/stories.boostsStatus">stories.boostsStatus</a> - </li>
|
<li>Added <a href="/constructor/stories.boostsStatus">stories.boostsStatus</a> - The current <a href="/api/stories#boosts">boost status »</a> of a channel.</li>
|
||||||
<li>Added <a href="/constructor/stories.canApplyBoostOk">stories.canApplyBoostOk</a> - </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> - </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/booster">booster</a> - </li>
|
<li>Added <a href="/constructor/booster">booster</a> - Info about a <a href="/api/stories#boosts">boost</a> made by a specific user.</li>
|
||||||
<li>Added <a href="/constructor/stories.boostersList">stories.boostersList</a> - </li>
|
<li>Added <a href="/constructor/stories.boostersList">stories.boostersList</a> - Info about the users currently <a href="/api/stories#boosts">boosting</a> the channel.</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>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -225,7 +225,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>Added <a href="/method/contacts.editCloseFriends">contacts.editCloseFriends</a> - </li>
|
<li>Added <a href="/method/contacts.editCloseFriends">contacts.editCloseFriends</a> - </li>
|
||||||
<li>Added <a href="/method/contacts.toggleStoriesHidden">contacts.toggleStoriesHidden</a></li>
|
<li>Added <a href="/method/contacts.toggleStoriesHidden">contacts.toggleStoriesHidden</a></li>
|
||||||
<li>Added <a href="/method/stories.canSendStory">stories.canSendStory</a> - </li>
|
<li>Added <a href="/method/stories.canSendStory">stories.canSendStory</a> - Check whether we can post stories as the specified peer.</li>
|
||||||
<li>Added <a href="/method/stories.sendStory">stories.sendStory</a> - Uploads a <a href="/api/stories">Telegram Story</a>.</li>
|
<li>Added <a href="/method/stories.sendStory">stories.sendStory</a> - Uploads a <a href="/api/stories">Telegram Story</a>.</li>
|
||||||
<li>Added <a href="/method/stories.editStory">stories.editStory</a> - </li>
|
<li>Added <a href="/method/stories.editStory">stories.editStory</a> - </li>
|
||||||
<li>Added <a href="/method/stories.deleteStories">stories.deleteStories</a> - Deletes some posted <a href="/api/stories">stories</a>.</li>
|
<li>Added <a href="/method/stories.deleteStories">stories.deleteStories</a> - Deletes some posted <a href="/api/stories">stories</a>.</li>
|
||||||
|
|
|
@ -69,7 +69,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>expires</strong></td>
|
<td><strong>expires</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>Expiry date of QR code</td>
|
<td>Expiration date of QR code</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>token</strong></td>
|
<td><strong>token</strong></td>
|
||||||
|
|
|
@ -134,17 +134,17 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>post_stories</strong></td>
|
<td><strong>post_stories</strong></td>
|
||||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.14?<a href="/constructor/true">true</a></td>
|
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.14?<a href="/constructor/true">true</a></td>
|
||||||
<td> </td>
|
<td>If set, allows the admin to post <a href="/api/stories#channel-stories">stories</a> as the <a href="/api/channel">channel</a>.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>edit_stories</strong></td>
|
<td><strong>edit_stories</strong></td>
|
||||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.15?<a href="/constructor/true">true</a></td>
|
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.15?<a href="/constructor/true">true</a></td>
|
||||||
<td> </td>
|
<td>If set, allows the admin to edit <a href="/api/stories#channel-stories">stories</a> posted by the other admins of the <a href="/api/channel">channel</a>.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>delete_stories</strong></td>
|
<td><strong>delete_stories</strong></td>
|
||||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.16?<a href="/constructor/true">true</a></td>
|
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.16?<a href="/constructor/true">true</a></td>
|
||||||
<td> </td>
|
<td>If set, allows the admin to delete <a href="/api/stories#channel-stories">stories</a> posted by the other admins of the <a href="/api/channel">channel</a>.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@ -158,7 +158,9 @@
|
||||||
<h4><a class="anchor" href="#channel-statistics" id="channel-statistics" name="channel-statistics"><i class="anchor-icon"></i></a><a href="/api/stats">Channel statistics</a></h4>
|
<h4><a class="anchor" href="#channel-statistics" id="channel-statistics" name="channel-statistics"><i class="anchor-icon"></i></a><a href="/api/stats">Channel statistics</a></h4>
|
||||||
<p>Telegram offers detailed channel statistics for channels and supergroups.</p>
|
<p>Telegram offers detailed channel statistics for channels and supergroups.</p>
|
||||||
<h4><a class="anchor" href="#forums" id="forums" name="forums"><i class="anchor-icon"></i></a><a href="/api/forum">Forums</a></h4>
|
<h4><a class="anchor" href="#forums" id="forums" name="forums"><i class="anchor-icon"></i></a><a href="/api/forum">Forums</a></h4>
|
||||||
<p>Telegram allows creating forums with multiple distinct topics.</p></div>
|
<p>Telegram allows creating forums with multiple distinct topics.</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>
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>expires</strong></td>
|
<td><strong>expires</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>Its expiry date</td>
|
<td>Its expiration date</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -4,36 +4,10 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>stories.boostersList</title>
|
<title>stories.boostersList</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="Info about the users currently boosting the channel.">
|
||||||
Name
|
|
||||||
Type
|
|
||||||
Description
|
|
||||||
flags
|
|
||||||
#
|
|
||||||
Flags, see TL conditional fields
|
|
||||||
count
|
|
||||||
int
|
|
||||||
|
|
||||||
boosters
|
|
||||||
Vector<Booster>
|
|
||||||
|
|
||||||
next_offset…">
|
|
||||||
<meta property="og:title" content="stories.boostersList">
|
<meta property="og:title" content="stories.boostersList">
|
||||||
<meta property="og:image" content="">
|
<meta property="og:image" content="">
|
||||||
<meta property="og:description" content="Parameters
|
<meta property="og:description" content="Info about the users currently boosting the channel.">
|
||||||
Name
|
|
||||||
Type
|
|
||||||
Description
|
|
||||||
flags
|
|
||||||
#
|
|
||||||
Flags, see TL conditional fields
|
|
||||||
count
|
|
||||||
int
|
|
||||||
|
|
||||||
boosters
|
|
||||||
Vector<Booster>
|
|
||||||
|
|
||||||
next_offset…">
|
|
||||||
<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 @@ next_offset…">
|
||||||
<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.boostersList" >stories.boostersList</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.boostersList" >stories.boostersList</a></li></ul></div>
|
||||||
<h1 id="dev_page_title">stories.boostersList</h1>
|
<h1 id="dev_page_title">stories.boostersList</h1>
|
||||||
|
|
||||||
<div id="dev_page_content"><p><div class="clearfix">
|
<div id="dev_page_content"><p>Info about the users currently <a href="/api/stories#boosts">boosting</a> the channel.</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,27 +74,32 @@ next_offset…">
|
||||||
<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 boosters.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>boosters</strong></td>
|
<td><strong>boosters</strong></td>
|
||||||
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a><<a href="/type/Booster">Booster</a>></td>
|
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a><<a href="/type/Booster">Booster</a>></td>
|
||||||
<td> </td>
|
<td>Info about the automatic expiration date of every user's boost.</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>Next offset for <a href="/api/offsets">pagination</a>.</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><<a href="/type/User">User</a>></td>
|
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a><<a href="/type/User">User</a>></td>
|
||||||
<td> </td>
|
<td>Info about the users mentioned in the <code>boosters</code> field.</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.BoostersList">stories.BoostersList</a></p></div>
|
<p><a href="/type/stories.BoostersList">stories.BoostersList</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="#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>
|
||||||
|
<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>
|
||||||
|
|
||||||
|
|
|
@ -116,7 +116,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>400</td>
|
<td>400</td>
|
||||||
<td>FORUM_ENABLED</td>
|
<td>FORUM_ENABLED</td>
|
||||||
<td> </td>
|
<td>You can't execute the specified action because the group is a <a href="/api/forum">forum</a>, disable forum functionality to continue.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>400</td>
|
<td>400</td>
|
||||||
|
@ -129,7 +129,9 @@
|
||||||
<h4><a class="anchor" href="#channels-supergroups-gigagroups-and-basic-groups" id="channels-supergroups-gigagroups-and-basic-groups" name="channels-supergroups-gigagroups-and-basic-groups"><i class="anchor-icon"></i></a><a href="/api/channel">Channels, supergroups, gigagroups and basic groups</a></h4>
|
<h4><a class="anchor" href="#channels-supergroups-gigagroups-and-basic-groups" id="channels-supergroups-gigagroups-and-basic-groups" name="channels-supergroups-gigagroups-and-basic-groups"><i class="anchor-icon"></i></a><a href="/api/channel">Channels, supergroups, gigagroups and basic groups</a></h4>
|
||||||
<p>How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.</p>
|
<p>How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.</p>
|
||||||
<h4><a class="anchor" href="#client-configuration" id="client-configuration" name="client-configuration"><i class="anchor-icon"></i></a><a href="/api/config">Client configuration</a></h4>
|
<h4><a class="anchor" href="#client-configuration" id="client-configuration" name="client-configuration"><i class="anchor-icon"></i></a><a href="/api/config">Client configuration</a></h4>
|
||||||
<p>The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.</p></div>
|
<p>The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.</p>
|
||||||
|
<h4><a class="anchor" href="#forums" id="forums" name="forums"><i class="anchor-icon"></i></a><a href="/api/forum">Forums</a></h4>
|
||||||
|
<p>Telegram allows creating forums with multiple distinct topics.</p></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -149,11 +149,6 @@
|
||||||
<td>You have joined too many channels/supergroups.</td>
|
<td>You have joined too many channels/supergroups.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>500</td>
|
|
||||||
<td>CHANNEL_ID_GENERATE_FAILED</td>
|
|
||||||
<td> </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>400</td>
|
<td>400</td>
|
||||||
<td>CHAT_ABOUT_TOO_LONG</td>
|
<td>CHAT_ABOUT_TOO_LONG</td>
|
||||||
<td>Chat about too long.</td>
|
<td>Chat about too long.</td>
|
||||||
|
|
|
@ -131,10 +131,13 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>400</td>
|
<td>400</td>
|
||||||
<td>FORUM_ENABLED</td>
|
<td>FORUM_ENABLED</td>
|
||||||
<td> </td>
|
<td>You can't execute the specified action because the group is a <a href="/api/forum">forum</a>, disable forum functionality to continue.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table></div>
|
</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="#forums" id="forums" name="forums"><i class="anchor-icon"></i></a><a href="/api/forum">Forums</a></h4>
|
||||||
|
<p>Telegram allows creating forums with multiple distinct topics.</p></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -131,6 +131,11 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>400</td>
|
<td>400</td>
|
||||||
|
<td>TTL_PERIOD_INVALID</td>
|
||||||
|
<td>The specified TTL period is invalid.</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>400</td>
|
||||||
<td>USERS_TOO_FEW</td>
|
<td>USERS_TOO_FEW</td>
|
||||||
<td>Not enough users (to create a chat, for example).</td>
|
<td>Not enough users (to create a chat, for example).</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -99,11 +99,6 @@
|
||||||
<td>You have joined too many channels/supergroups.</td>
|
<td>You have joined too many channels/supergroups.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>500</td>
|
|
||||||
<td>CHANNEL_ID_GENERATE_FAILED</td>
|
|
||||||
<td> </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>403</td>
|
<td>403</td>
|
||||||
<td>CHAT_ADMIN_REQUIRED</td>
|
<td>CHAT_ADMIN_REQUIRED</td>
|
||||||
<td>You must be an admin in this chat to do this.</td>
|
<td>You must be an admin in this chat to do this.</td>
|
||||||
|
|
|
@ -4,38 +4,10 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>stories.canSendStory</title>
|
<title>stories.canSendStory</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="Check whether we can post stories as the specified peer.">
|
||||||
Name
|
|
||||||
Type
|
|
||||||
Description
|
|
||||||
peer
|
|
||||||
InputPeer
|
|
||||||
|
|
||||||
Result
|
|
||||||
Bool
|
|
||||||
Possible errors
|
|
||||||
Code
|
|
||||||
Type
|
|
||||||
Description
|
|
||||||
400
|
|
||||||
PEER_ID_INVALID…">
|
|
||||||
<meta property="og:title" content="stories.canSendStory">
|
<meta property="og:title" content="stories.canSendStory">
|
||||||
<meta property="og:image" content="">
|
<meta property="og:image" content="">
|
||||||
<meta property="og:description" content="Parameters
|
<meta property="og:description" content="Check whether we can post stories as the specified peer.">
|
||||||
Name
|
|
||||||
Type
|
|
||||||
Description
|
|
||||||
peer
|
|
||||||
InputPeer
|
|
||||||
|
|
||||||
Result
|
|
||||||
Bool
|
|
||||||
Possible errors
|
|
||||||
Code
|
|
||||||
Type
|
|
||||||
Description
|
|
||||||
400
|
|
||||||
PEER_ID_INVALID…">
|
|
||||||
<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 @@ PEER_ID_INVALID…">
|
||||||
<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.canSendStory" >stories.canSendStory</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="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/stories.canSendStory" >stories.canSendStory</a></li></ul></div>
|
||||||
<h1 id="dev_page_title">stories.canSendStory</h1>
|
<h1 id="dev_page_title">stories.canSendStory</h1>
|
||||||
|
|
||||||
<div id="dev_page_content"><p><div class="clearfix">
|
<div id="dev_page_content"><p>Check whether we can post stories as the specified 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,7 +72,7 @@ PEER_ID_INVALID…">
|
||||||
<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>The peer from which we wish to post stories.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@ -117,11 +90,44 @@ PEER_ID_INVALID…">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>400</td>
|
<td>400</td>
|
||||||
|
<td>BOOSTS_REQUIRED</td>
|
||||||
|
<td>The specified channel must first be <a href="/api/stories#channel-stories">boosted by its users</a> in order to be able to post stories.</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>400</td>
|
||||||
|
<td>CHAT_ADMIN_REQUIRED</td>
|
||||||
|
<td>You must be an admin in this chat to do this.</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>400</td>
|
||||||
<td>PEER_ID_INVALID</td>
|
<td>PEER_ID_INVALID</td>
|
||||||
<td>The provided peer id is invalid.</td>
|
<td>The provided peer id is invalid.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>400</td>
|
||||||
|
<td>PREMIUM_ACCOUNT_REQUIRED</td>
|
||||||
|
<td>A premium account is required to execute this action.</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>400</td>
|
||||||
|
<td>STORIES_TOO_MUCH</td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>400</td>
|
||||||
|
<td>STORY_SEND_FLOOD_MONTHLY_%d</td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>400</td>
|
||||||
|
<td>STORY_SEND_FLOOD_WEEKLY_%d</td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table></div>
|
</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>
|
||||||
|
<p>Telegram users and channels can easily post and view stories through the API.</p></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -13,12 +13,7 @@ flags
|
||||||
Flags, see TL conditional fields
|
Flags, see TL conditional fields
|
||||||
peer
|
peer
|
||||||
InputPeer
|
InputPeer
|
||||||
|
Peer where the story was posted.…">
|
||||||
id
|
|
||||||
int
|
|
||||||
|
|
||||||
media
|
|
||||||
flags.0?InputMedia…">
|
|
||||||
<meta property="og:title" content="stories.editStory">
|
<meta property="og:title" content="stories.editStory">
|
||||||
<meta property="og:image" content="">
|
<meta property="og:image" content="">
|
||||||
<meta property="og:description" content="Parameters
|
<meta property="og:description" content="Parameters
|
||||||
|
@ -30,12 +25,7 @@ flags
|
||||||
Flags, see TL conditional fields
|
Flags, see TL conditional fields
|
||||||
peer
|
peer
|
||||||
InputPeer
|
InputPeer
|
||||||
|
Peer where the story was posted.…">
|
||||||
id
|
|
||||||
int
|
|
||||||
|
|
||||||
media
|
|
||||||
flags.0?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">
|
||||||
|
@ -109,17 +99,17 @@ flags.0?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>ID of story to edit.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>media</strong></td>
|
<td><strong>media</strong></td>
|
||||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/InputMedia">InputMedia</a></td>
|
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/InputMedia">InputMedia</a></td>
|
||||||
<td> </td>
|
<td>If specified, replaces the story media.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>media_areas</strong></td>
|
<td><strong>media_areas</strong></td>
|
||||||
|
@ -129,17 +119,17 @@ flags.0?InputMedia…">
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>caption</strong></td>
|
<td><strong>caption</strong></td>
|
||||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/string">string</a></td>
|
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/string">string</a></td>
|
||||||
<td> </td>
|
<td>If specified, replaces the story caption.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>entities</strong></td>
|
<td><strong>entities</strong></td>
|
||||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/Vector%20t">Vector</a><<a href="/type/MessageEntity">MessageEntity</a>></td>
|
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/Vector%20t">Vector</a><<a href="/type/MessageEntity">MessageEntity</a>></td>
|
||||||
<td><a href="/api/entities">Message entities for styled text</a></td>
|
<td><a href="/api/entities">Message entities for styled text in the caption</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>privacy_rules</strong></td>
|
<td><strong>privacy_rules</strong></td>
|
||||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/type/Vector%20t">Vector</a><<a href="/type/InputPrivacyRule">InputPrivacyRule</a>></td>
|
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/type/Vector%20t">Vector</a><<a href="/type/InputPrivacyRule">InputPrivacyRule</a>></td>
|
||||||
<td> </td>
|
<td>If specified, alters the privacy settings of the story.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@ -160,6 +150,11 @@ flags.0?InputMedia…">
|
||||||
<td>PEER_ID_INVALID</td>
|
<td>PEER_ID_INVALID</td>
|
||||||
<td>The provided peer id is invalid.</td>
|
<td>The provided peer id is invalid.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>400</td>
|
||||||
|
<td>STORY_NOT_MODIFIED</td>
|
||||||
|
<td>The new story information you passed is equal to the previous story information, thus it wasn't modified.</td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||||
|
|
Loading…
Reference in a new issue