mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-11-28 19:23:11 +01:00
Update content of files
This commit is contained in:
parent
75779e1883
commit
98b7d34aec
103 changed files with 1042 additions and 451 deletions
|
@ -49,13 +49,13 @@ An error is characterized by several parameters:</p>
|
|||
<h4><a class="anchor" href="#error-type" id="error-type" name="error-type"><i class="anchor-icon"></i></a>Error Type</h4>
|
||||
<p>A string literal in the form of <code>/[A-Z_0-9]+/</code>, which summarizes the problem. For example, <code>AUTH_KEY_UNREGISTERED</code>. This is an optional parameter.</p>
|
||||
<h4><a class="anchor" href="#error-database" id="error-database" name="error-database"><i class="anchor-icon"></i></a>Error Database</h4>
|
||||
<p>A full human-readable JSON list of RPC errors that can be returned by all methods in the API can be found <a href="/file/400780400424/4/FCP9Vyccaho.111662.json/d7d1b7ba612b54a702">here »</a>, what follows is a description of its fields: </p>
|
||||
<p>A full human-readable JSON list of RPC errors that can be returned by all methods in the API can be found <a href="/file/400780400509/4/4NDZrSN0f1Y.121868.json/8ee0b00dd80a1cd04b">here »</a>, what follows is a description of its fields: </p>
|
||||
<ul>
|
||||
<li><code>errors</code> - All error messages and codes for each method (object).<ul>
|
||||
<li>Keys: Error codes as strings (numeric strings)</li>
|
||||
<li>Values: All error messages for each method (object)<ul>
|
||||
<li>Keys: Error messages (string)</li>
|
||||
<li>Values: An array of methods which may emit this error (array of strings)</li>
|
||||
<li>Values: An array of methods which may emit this error (array of strings, may be empty for errors that can be emitted by any method)</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -164,6 +164,7 @@ Also note that by session we mean a logged-in session identified by an <a href="
|
|||
<h4><a class="anchor" href="#error-example" id="error-example" name="error-example"><i class="anchor-icon"></i></a>Error Example:</h4>
|
||||
<ul>
|
||||
<li>FLOOD_WAIT_X: A wait of X seconds is required (where X is a number)</li>
|
||||
<li>FLOOD_PREMIUM_WAIT_X: A wait of X seconds is required (where X is a number); the user may also purchase a <a href="/api/premium">Telegram Premium subscription</a> to remove this limitation.</li>
|
||||
</ul>
|
||||
<h3><a class="anchor" href="#500-internal" id="500-internal" name="500-internal"><i class="anchor-icon"></i></a>500 INTERNAL</h3>
|
||||
<p>An internal server error occurred while a request was being processed; for example, there was a disruption while accessing a database or file storage.</p>
|
||||
|
|
|
@ -12,8 +12,7 @@ link
|
|||
InputBusinessChatLink
|
||||
|
||||
Result
|
||||
BusinessChatLink
|
||||
Bots can use this method">
|
||||
BusinessChatLink">
|
||||
<meta property="og:title" content="account.createBusinessChatLink">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -24,8 +23,7 @@ link
|
|||
InputBusinessChatLink
|
||||
|
||||
Result
|
||||
BusinessChatLink
|
||||
Bots can use this method">
|
||||
BusinessChatLink">
|
||||
<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">
|
||||
|
@ -93,8 +91,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/BusinessChatLink">BusinessChatLink</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/BusinessChatLink">BusinessChatLink</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -13,7 +13,12 @@ string
|
|||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description
|
||||
400
|
||||
CHATLINK_SLUG_EMPTY…">
|
||||
<meta property="og:title" content="account.deleteBusinessChatLink">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -25,7 +30,12 @@ string
|
|||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description
|
||||
400
|
||||
CHATLINK_SLUG_EMPTY…">
|
||||
<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>CHATLINK_SLUG_EMPTY</td>
|
||||
<td>The specified slug is empty.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -12,8 +12,7 @@ peer
|
|||
InputPeer
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Bool">
|
||||
<meta property="og:title" content="account.disablePeerConnectedBot">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -24,8 +23,7 @@ peer
|
|||
InputPeer
|
||||
|
||||
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>
|
||||
|
||||
|
|
|
@ -16,7 +16,8 @@ InputBusinessChatLink
|
|||
|
||||
Result
|
||||
BusinessChatLink
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code…">
|
||||
<meta property="og:title" content="account.editBusinessChatLink">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -31,7 +32,8 @@ InputBusinessChatLink
|
|||
|
||||
Result
|
||||
BusinessChatLink
|
||||
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">
|
||||
|
@ -105,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/BusinessChatLink">BusinessChatLink</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>CHATLINK_SLUG_EMPTY</td>
|
||||
<td>The specified slug is empty.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -13,7 +13,12 @@ string
|
|||
|
||||
Result
|
||||
Updates
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description
|
||||
400
|
||||
CONNE…">
|
||||
<meta property="og:title" content="account.getBotBusinessConnection">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -25,7 +30,12 @@ string
|
|||
|
||||
Result
|
||||
Updates
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description
|
||||
400
|
||||
CONNE…">
|
||||
<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,6 +110,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="#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>CONNECTION_ID_INVALID</td>
|
||||
<td>The specified connection 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>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -7,15 +7,13 @@
|
|||
<meta property="description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Result
|
||||
account.BusinessChatLinks
|
||||
Bots can use this method">
|
||||
account.BusinessChatLinks">
|
||||
<meta property="og:title" content="account.getBusinessChatLinks">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Result
|
||||
account.BusinessChatLinks
|
||||
Bots can use this method">
|
||||
account.BusinessChatLinks">
|
||||
<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">
|
||||
|
@ -68,8 +66,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/account.BusinessChatLinks">account.BusinessChatLinks</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/account.BusinessChatLinks">account.BusinessChatLinks</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -7,15 +7,13 @@
|
|||
<meta property="description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Result
|
||||
account.ConnectedBots
|
||||
Bots can use this method">
|
||||
account.ConnectedBots">
|
||||
<meta property="og:title" content="account.getConnectedBots">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Result
|
||||
account.ConnectedBots
|
||||
Bots can use this method">
|
||||
account.ConnectedBots">
|
||||
<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">
|
||||
|
@ -68,8 +66,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/account.ConnectedBots">account.ConnectedBots</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/account.ConnectedBots">account.ConnectedBots</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -7,15 +7,13 @@
|
|||
<meta property="description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Result
|
||||
ReactionsNotifySettings
|
||||
Bots can use this method">
|
||||
ReactionsNotifySettings">
|
||||
<meta property="og:title" content="account.getReactionsNotifySettings">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Result
|
||||
ReactionsNotifySettings
|
||||
Bots can use this method">
|
||||
ReactionsNotifySettings">
|
||||
<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">
|
||||
|
@ -68,8 +66,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/ReactionsNotifySettings">ReactionsNotifySettings</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/ReactionsNotifySettings">ReactionsNotifySettings</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -13,7 +13,10 @@ string
|
|||
|
||||
Result
|
||||
account.ResolvedBusinessChatLinks
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description…">
|
||||
<meta property="og:title" content="account.resolveBusinessChatLink">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -25,7 +28,10 @@ string
|
|||
|
||||
Result
|
||||
account.ResolvedBusinessChatLinks
|
||||
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">
|
||||
|
@ -94,7 +100,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/account.ResolvedBusinessChatLinks">account.ResolvedBusinessChatLinks</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>CHATLINK_SLUG_EMPTY</td>
|
||||
<td>The specified slug is empty.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -12,8 +12,7 @@ settings
|
|||
ReactionsNotifySettings
|
||||
|
||||
Result
|
||||
ReactionsNotifySettings
|
||||
Bots can use this method">
|
||||
ReactionsNotifySettings">
|
||||
<meta property="og:title" content="account.setReactionsNotifySettings">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -24,8 +23,7 @@ settings
|
|||
ReactionsNotifySettings
|
||||
|
||||
Result
|
||||
ReactionsNotifySettings
|
||||
Bots can use this method">
|
||||
ReactionsNotifySettings">
|
||||
<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">
|
||||
|
@ -93,8 +91,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/ReactionsNotifySettings">ReactionsNotifySettings</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/ReactionsNotifySettings">ReactionsNotifySettings</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -15,8 +15,7 @@ paused
|
|||
Bool
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Bool">
|
||||
<meta property="og:title" content="account.toggleConnectedBotPaused">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -30,8 +29,7 @@ paused
|
|||
Bool
|
||||
|
||||
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">
|
||||
|
@ -105,8 +103,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>
|
||||
|
||||
|
|
|
@ -12,8 +12,7 @@ enabled
|
|||
Bool
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Bool">
|
||||
<meta property="og:title" content="account.toggleSponsoredMessages">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -24,8 +23,7 @@ enabled
|
|||
Bool
|
||||
|
||||
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>
|
||||
|
||||
|
|
|
@ -15,8 +15,7 @@ birthday
|
|||
flags.0?Birthday
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots…">
|
||||
Bool">
|
||||
<meta property="og:title" content="account.updateBirthday">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -30,8 +29,7 @@ birthday
|
|||
flags.0?Birthday
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots…">
|
||||
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">
|
||||
|
@ -105,8 +103,7 @@ Bots…">
|
|||
</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>
|
||||
|
||||
|
|
|
@ -101,8 +101,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/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>
|
||||
|
||||
|
|
|
@ -97,8 +97,7 @@ flags.0?InputBusinessGreetingMessage…">
|
|||
</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>
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ intro
|
|||
flags.0?InputBusinessIntro
|
||||
|
||||
Result
|
||||
Bool…">
|
||||
Bool">
|
||||
<meta property="og:title" content="account.updateBusinessIntro">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -29,7 +29,7 @@ intro
|
|||
flags.0?InputBusinessIntro
|
||||
|
||||
Result
|
||||
Bool…">
|
||||
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">
|
||||
|
@ -103,8 +103,7 @@ Bool…">
|
|||
</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>
|
||||
|
||||
|
|
|
@ -108,8 +108,7 @@ flags.0?string…">
|
|||
</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>
|
||||
|
||||
|
|
|
@ -97,8 +97,7 @@ flags.0?BusinessWorkHours…">
|
|||
</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>
|
||||
|
||||
|
|
|
@ -123,8 +123,7 @@ flags.1?true…">
|
|||
</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>
|
||||
|
||||
|
|
|
@ -12,8 +12,7 @@ channel
|
|||
InputChannel
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Bool">
|
||||
<meta property="og:title" content="account.updatePersonalChannel">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -24,8 +23,7 @@ channel
|
|||
InputChannel
|
||||
|
||||
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>
|
||||
|
||||
|
|
|
@ -18,8 +18,7 @@ mnc
|
|||
string
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this…">
|
||||
Bool">
|
||||
<meta property="og:title" content="auth.reportMissingCode">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -36,8 +35,7 @@ mnc
|
|||
string
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this…">
|
||||
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">
|
||||
|
@ -116,8 +114,7 @@ Bots can use this…">
|
|||
</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>
|
||||
|
||||
|
|
|
@ -115,6 +115,11 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PHONE_CODE_EMPTY</td>
|
||||
<td>phone_code is missing.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PHONE_NUMBER_INVALID</td>
|
||||
<td>The phone number is invalid.</td>
|
||||
</tr>
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>bots.getBotInfo</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Get our about text and description (bots only)">
|
||||
<meta property="description" content="Get localized name, about text and description of a bot (or of the current account, if called by a bot).">
|
||||
<meta property="og:title" content="bots.getBotInfo">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Get our about text and description (bots only)">
|
||||
<meta property="og:description" content="Get localized name, about text and description of a bot (or of the current account, if called by a bot).">
|
||||
<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,6 +99,11 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>BOT_INVALID</td>
|
||||
<td>This is not a valid bot.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>LANG_CODE_INVALID</td>
|
||||
<td>The specified language code is invalid.</td>
|
||||
</tr>
|
||||
|
|
|
@ -104,8 +104,7 @@
|
|||
<td>This is not a valid bot.</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>
|
||||
|
||||
|
|
|
@ -98,6 +98,11 @@
|
|||
<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>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
|
|
|
@ -89,6 +89,11 @@
|
|||
<tbody>
|
||||
<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>
|
||||
|
|
|
@ -18,7 +18,7 @@ option
|
|||
bytes
|
||||
|
||||
Result
|
||||
channels.SponsoredMessageReportResult…">
|
||||
channels.SponsoredMessageReportResult">
|
||||
<meta property="og:title" content="channels.reportSponsoredMessage">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -35,7 +35,7 @@ option
|
|||
bytes
|
||||
|
||||
Result
|
||||
channels.SponsoredMessageReportResult…">
|
||||
channels.SponsoredMessageReportResult">
|
||||
<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,8 +115,7 @@ channels.SponsoredMessageReportResult…">
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/channels.SponsoredMessageReportResult">channels.SponsoredMessageReportResult</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/channels.SponsoredMessageReportResult">channels.SponsoredMessageReportResult</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -15,8 +15,7 @@ restricted
|
|||
Bool
|
||||
|
||||
Result
|
||||
Updates
|
||||
Bots can use this method">
|
||||
Updates">
|
||||
<meta property="og:title" content="channels.restrictSponsoredMessages">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -30,8 +29,7 @@ restricted
|
|||
Bool
|
||||
|
||||
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">
|
||||
|
@ -110,8 +108,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/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>
|
||||
|
||||
|
|
|
@ -129,7 +129,6 @@ Offsets for pagination…">
|
|||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/messages.Messages">messages.Messages</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>
|
||||
|
|
|
@ -15,8 +15,7 @@ boosts
|
|||
int
|
||||
|
||||
Result
|
||||
Updates
|
||||
Bots can use this method">
|
||||
Updates">
|
||||
<meta property="og:title" content="channels.setBoostsToUnblockRestrictions">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -30,8 +29,7 @@ boosts
|
|||
int
|
||||
|
||||
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">
|
||||
|
@ -110,8 +108,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/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>
|
||||
|
||||
|
|
|
@ -15,8 +15,7 @@ stickerset
|
|||
InputStickerSet
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Bool">
|
||||
<meta property="og:title" content="channels.setEmojiStickers">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -30,8 +29,7 @@ stickerset
|
|||
InputStickerSet
|
||||
|
||||
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">
|
||||
|
@ -105,8 +103,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>
|
||||
|
||||
|
|
|
@ -120,7 +120,6 @@
|
|||
</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="#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></div>
|
||||
|
|
|
@ -100,7 +100,6 @@
|
|||
</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="#deep-links" id="deep-links" name="deep-links"><i class="anchor-icon"></i></a><a href="/api/links">Deep links</a></h4>
|
||||
<p>Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.</p></div>
|
||||
|
|
|
@ -62,7 +62,6 @@
|
|||
<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/ExportedContactToken">ExportedContactToken</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="#deep-links" id="deep-links" name="deep-links"><i class="anchor-icon"></i></a><a href="/api/links">Deep links</a></h4>
|
||||
<p>Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.</p></div>
|
||||
|
|
|
@ -7,15 +7,13 @@
|
|||
<meta property="description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Result
|
||||
contacts.ContactBirthdays
|
||||
Bots can use this method">
|
||||
contacts.ContactBirthdays">
|
||||
<meta property="og:title" content="contacts.getBirthdays">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Result
|
||||
contacts.ContactBirthdays
|
||||
Bots can use this method">
|
||||
contacts.ContactBirthdays">
|
||||
<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">
|
||||
|
@ -68,8 +66,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/contacts.ContactBirthdays">contacts.ContactBirthdays</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/contacts.ContactBirthdays">contacts.ContactBirthdays</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -13,7 +13,9 @@ InputCollectible
|
|||
|
||||
Result
|
||||
fragment.CollectibleInfo
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type…">
|
||||
<meta property="og:title" content="fragment.getCollectibleInfo">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -25,7 +27,9 @@ InputCollectible
|
|||
|
||||
Result
|
||||
fragment.CollectibleInfo
|
||||
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">
|
||||
|
@ -94,7 +98,28 @@ 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/fragment.CollectibleInfo">fragment.CollectibleInfo</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>COLLECTIBLE_INVALID</td>
|
||||
<td>The specified collectible is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>COLLECTIBLE_NOT_FOUND</td>
|
||||
<td>The specified collectible could not be found.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ int
|
|||
Hash for pagination, for more info click here
|
||||
Result
|
||||
help.TimezonesList
|
||||
Bots…">
|
||||
Related…">
|
||||
<meta property="og:title" content="help.getTimezonesList">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -25,7 +25,7 @@ int
|
|||
Hash for pagination, for more info click here
|
||||
Result
|
||||
help.TimezonesList
|
||||
Bots…">
|
||||
Related…">
|
||||
<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 +95,6 @@ Bots…">
|
|||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/help.TimezonesList">help.TimezonesList</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>
|
||||
|
|
|
@ -12,8 +12,7 @@ shortcut
|
|||
string
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Bool">
|
||||
<meta property="og:title" content="messages.checkQuickReplyShortcut">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -24,8 +23,7 @@ shortcut
|
|||
string
|
||||
|
||||
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>
|
||||
|
||||
|
|
|
@ -15,8 +15,7 @@ msg_id
|
|||
int
|
||||
|
||||
Result
|
||||
Updates
|
||||
Bots can use this method">
|
||||
Updates">
|
||||
<meta property="og:title" content="messages.deleteFactCheck">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -30,8 +29,7 @@ msg_id
|
|||
int
|
||||
|
||||
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">
|
||||
|
@ -110,8 +108,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/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>
|
||||
|
||||
|
|
|
@ -16,7 +16,10 @@ Vector<int>
|
|||
|
||||
Result
|
||||
Updates
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description…">
|
||||
<meta property="og:title" content="messages.deleteQuickReplyMessages">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -31,7 +34,10 @@ Vector<int>
|
|||
|
||||
Result
|
||||
Updates
|
||||
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">
|
||||
|
@ -111,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/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>SHORTCUT_INVALID</td>
|
||||
<td>The specified shortcut is invalid.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -13,7 +13,12 @@ int
|
|||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description
|
||||
400
|
||||
SHORTCUT_INVALID…">
|
||||
<meta property="og:title" content="messages.deleteQuickReplyShortcut">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -25,7 +30,12 @@ int
|
|||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description
|
||||
400
|
||||
SHORTCUT_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>SHORTCUT_INVALID</td>
|
||||
<td>The specified shortcut is invalid.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -99,6 +99,11 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>403</td>
|
||||
<td>MESSAGE_DELETE_FORBIDDEN</td>
|
||||
<td>You can't delete one of the messages you tried to delete, most likely because it is a service message.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PEER_ID_INVALID</td>
|
||||
<td>The provided peer id is invalid.</td>
|
||||
|
|
|
@ -100,6 +100,11 @@
|
|||
<tbody>
|
||||
<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>CHAT_ID_INVALID</td>
|
||||
<td>The provided chat id is invalid.</td>
|
||||
</tr>
|
||||
|
|
|
@ -18,8 +18,7 @@ text
|
|||
TextWithEntities
|
||||
|
||||
Result
|
||||
Updates
|
||||
Bots can use this…">
|
||||
Updates">
|
||||
<meta property="og:title" content="messages.editFactCheck">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -36,8 +35,7 @@ text
|
|||
TextWithEntities
|
||||
|
||||
Result
|
||||
Updates
|
||||
Bots can use this…">
|
||||
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">
|
||||
|
@ -121,8 +119,7 @@ Bots can use this…">
|
|||
</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>
|
||||
|
||||
|
|
|
@ -333,6 +333,11 @@
|
|||
<td>USER_BANNED_IN_CHANNEL</td>
|
||||
<td>You're banned from sending messages in supergroups/channels.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>WEBPAGE_NOT_FOUND</td>
|
||||
<td>A preview for the specified webpage <code>url</code> could not be generated.</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>
|
||||
|
|
|
@ -16,7 +16,10 @@ string
|
|||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description…">
|
||||
<meta property="og:title" content="messages.editQuickReplyShortcut">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -31,7 +34,10 @@ string
|
|||
|
||||
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>SHORTCUT_INVALID</td>
|
||||
<td>The specified shortcut is invalid.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -304,6 +304,11 @@
|
|||
<td>The provided peer id is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>406</td>
|
||||
<td>PRIVACY_PREMIUM_REQUIRED</td>
|
||||
<td>You need a <a href="/api/premium">Telegram Premium subscription</a> to send a message to this user.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>QUIZ_ANSWER_MISSING</td>
|
||||
<td>You can forward a quiz while hiding the original author only after choosing an option in the quiz.</td>
|
||||
|
@ -392,7 +397,9 @@
|
|||
<h4><a class="anchor" href="#discussion-groups" id="discussion-groups" name="discussion-groups"><i class="anchor-icon"></i></a><a href="/api/discussion">Discussion groups</a></h4>
|
||||
<p>Groups can be associated to a channel as a discussion group, to allow users to discuss about posts.</p>
|
||||
<h4><a class="anchor" href="#error-handling" id="error-handling" name="error-handling"><i class="anchor-icon"></i></a><a href="/api/errors">Error handling </a></h4>
|
||||
<p>How to handle API return errors correctly.</p></div>
|
||||
<p>How to handle API return errors correctly.</p>
|
||||
<h4><a class="anchor" href="#telegram-premium" id="telegram-premium" name="telegram-premium"><i class="anchor-icon"></i></a><a href="/api/premium">Telegram Premium</a></h4>
|
||||
<p>Telegram Premium is an optional subscription service that unlocks additional exclusive client-side and API-side features, while helping support the development of the app.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -93,7 +93,6 @@ messages.AvailableEffects…">
|
|||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/messages.AvailableEffects">messages.AvailableEffects</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>
|
||||
|
|
|
@ -94,9 +94,19 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>BOT_APP_BOT_INVALID</td>
|
||||
<td>The bot_id passed in the inputBotAppShortName constructor is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>BOT_APP_INVALID</td>
|
||||
<td>The specified bot app is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>BOT_APP_SHORTNAME_INVALID</td>
|
||||
<td>The specified bot app short name 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>
|
||||
|
|
|
@ -13,7 +13,7 @@ int
|
|||
Hash for pagination, for more info click here
|
||||
Result
|
||||
messages.EmojiGroups
|
||||
Bots…">
|
||||
Related…">
|
||||
<meta property="og:title" content="messages.getEmojiStickerGroups">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -25,7 +25,7 @@ int
|
|||
Hash for pagination, for more info click here
|
||||
Result
|
||||
messages.EmojiGroups
|
||||
Bots…">
|
||||
Related…">
|
||||
<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 +95,6 @@ Bots…">
|
|||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/messages.EmojiGroups">messages.EmojiGroups</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>
|
||||
|
|
|
@ -15,8 +15,7 @@ msg_id
|
|||
Vector<int>
|
||||
|
||||
Result
|
||||
Vector<FactCheck>
|
||||
Bots can use this method">
|
||||
Vector<FactCheck>">
|
||||
<meta property="og:title" content="messages.getFactCheck">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -30,8 +29,7 @@ msg_id
|
|||
Vector<int>
|
||||
|
||||
Result
|
||||
Vector<FactCheck>
|
||||
Bots can use this method">
|
||||
Vector<FactCheck>">
|
||||
<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">
|
||||
|
@ -103,8 +101,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><<a href="/type/FactCheck">FactCheck</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/Vector%20t">Vector</a><<a href="/type/FactCheck">FactCheck</a>></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -100,6 +100,11 @@
|
|||
<tbody>
|
||||
<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>
|
||||
|
|
|
@ -99,7 +99,6 @@ Maximum number…">
|
|||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/messages.MyStickers">messages.MyStickers</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>
|
||||
|
|
|
@ -13,7 +13,7 @@ long
|
|||
Hash for pagination, for more info click here
|
||||
Result
|
||||
messages.QuickReplies
|
||||
Bots…">
|
||||
Related…">
|
||||
<meta property="og:title" content="messages.getQuickReplies">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -25,7 +25,7 @@ long
|
|||
Hash for pagination, for more info click here
|
||||
Result
|
||||
messages.QuickReplies
|
||||
Bots…">
|
||||
Related…">
|
||||
<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 +95,6 @@ Bots…">
|
|||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/messages.QuickReplies">messages.QuickReplies</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>
|
||||
|
|
|
@ -120,7 +120,23 @@ hash…">
|
|||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/messages.Messages">messages.Messages</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>SHORTCUT_INVALID</td>
|
||||
<td>The specified shortcut 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>
|
||||
|
|
|
@ -115,6 +115,23 @@
|
|||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/messages.Messages">messages.Messages</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>
|
||||
<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>
|
||||
|
|
|
@ -99,15 +99,35 @@
|
|||
<tbody>
|
||||
<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>IMPORT_FILE_INVALID</td>
|
||||
<td>The specified chat export file is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>IMPORT_FORMAT_DATE_INVALID</td>
|
||||
<td>The date specified in the import file is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>IMPORT_FORMAT_UNRECOGNIZED</td>
|
||||
<td>The specified chat export file was exported from an unsupported chat app.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>IMPORT_HISTORY_LOG_EMPTY</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PEER_ID_INVALID</td>
|
||||
<td>The provided peer id is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>406</td>
|
||||
<td>PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN</td>
|
||||
<td>Import for this chat is already in progress, wait %d minutes before starting a new one.</td>
|
||||
|
|
|
@ -12,8 +12,7 @@ order
|
|||
Vector<int>
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Bool">
|
||||
<meta property="og:title" content="messages.reorderQuickReplies">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -24,8 +23,7 @@ order
|
|||
Vector<int>
|
||||
|
||||
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>
|
||||
|
||||
|
|
|
@ -112,6 +112,28 @@
|
|||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/SimpleWebViewResult">SimpleWebViewResult</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>BOT_INVALID</td>
|
||||
<td>This is not a valid bot.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>URL_INVALID</td>
|
||||
<td>Invalid URL provided.</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="#messagesgetinlinebotresults" id="messagesgetinlinebotresults" name="messagesgetinlinebotresults"><i class="anchor-icon"></i></a><a href="/method/messages.getInlineBotResults">messages.getInlineBotResults</a></h4>
|
||||
<p>Query an inline bot</p>
|
||||
|
|
|
@ -155,10 +155,25 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>MSG_ID_INVALID</td>
|
||||
<td>Invalid message ID provided.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PEER_ID_INVALID</td>
|
||||
<td>The provided peer id is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>403</td>
|
||||
<td>PRIVACY_PREMIUM_REQUIRED</td>
|
||||
<td>You need a <a href="/api/premium">Telegram Premium subscription</a> to send a message to this user.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>SEND_AS_PEER_INVALID</td>
|
||||
<td>You can't send messages as the specified peer.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>YOU_BLOCKED_USER</td>
|
||||
<td>You blocked this user.</td>
|
||||
|
@ -177,7 +192,9 @@
|
|||
<h4><a class="anchor" href="#telegram-mini-apps" id="telegram-mini-apps" name="telegram-mini-apps"><i class="anchor-icon"></i></a><a href="/bots/webapps">Telegram Mini Apps</a></h4>
|
||||
<h4><a class="anchor" href="#messagesprolongwebview" id="messagesprolongwebview" name="messagesprolongwebview"><i class="anchor-icon"></i></a><a href="/method/messages.prolongWebView">messages.prolongWebView</a></h4>
|
||||
<p>Indicate to the server (from the user side) that the user is still using a web app.</p>
|
||||
<p>If the method returns a <code>QUERY_ID_INVALID</code> error, the webview must be closed.</p></div>
|
||||
<p>If the method returns a <code>QUERY_ID_INVALID</code> error, the webview must be closed.</p>
|
||||
<h4><a class="anchor" href="#telegram-premium" id="telegram-premium" name="telegram-premium"><i class="anchor-icon"></i></a><a href="/api/premium">Telegram Premium</a></h4>
|
||||
<p>Telegram Premium is an optional subscription service that unlocks additional exclusive client-side and API-side features, while helping support the development of the app.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -147,6 +147,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>INPUT_FILTER_INVALID</td>
|
||||
<td>The specified filter is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>SEARCH_QUERY_EMPTY</td>
|
||||
<td>The search query is empty.</td>
|
||||
</tr>
|
||||
|
|
|
@ -270,6 +270,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>403</td>
|
||||
<td>CHAT_SEND_ROUNDVIDEOS_FORBIDDEN</td>
|
||||
<td>You can't send round videos to this chat.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>403</td>
|
||||
<td>CHAT_SEND_STICKERS_FORBIDDEN</td>
|
||||
<td>You can't send stickers in this chat.</td>
|
||||
</tr>
|
||||
|
@ -434,6 +439,11 @@
|
|||
<td>A premium account is required to execute this action.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>403</td>
|
||||
<td>PRIVACY_PREMIUM_REQUIRED</td>
|
||||
<td>You need a <a href="/api/premium">Telegram Premium subscription</a> to send a message to this user.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>QUIZ_CORRECT_ANSWERS_EMPTY</td>
|
||||
<td>No correct quiz answer was specified.</td>
|
||||
|
@ -465,6 +475,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>REPLY_MARKUP_GAME_EMPTY</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>REPLY_MARKUP_INVALID</td>
|
||||
<td>The provided reply markup is invalid.</td>
|
||||
</tr>
|
||||
|
@ -499,6 +514,11 @@
|
|||
<td>Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>STORY_ID_INVALID</td>
|
||||
<td>The specified story ID is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>406</td>
|
||||
<td>TOPIC_CLOSED</td>
|
||||
<td>This topic was closed, you can't send messages to it anymore.</td>
|
||||
|
@ -581,7 +601,9 @@
|
|||
<h4><a class="anchor" href="#discussion-groups" id="discussion-groups" name="discussion-groups"><i class="anchor-icon"></i></a><a href="/api/discussion">Discussion groups</a></h4>
|
||||
<p>Groups can be associated to a channel as a discussion group, to allow users to discuss about posts.</p>
|
||||
<h4><a class="anchor" href="#file-references" id="file-references" name="file-references"><i class="anchor-icon"></i></a><a href="/api/file_reference">File references</a></h4>
|
||||
<p>How to handle file references.</p></div>
|
||||
<p>How to handle file references.</p>
|
||||
<h4><a class="anchor" href="#telegram-premium" id="telegram-premium" name="telegram-premium"><i class="anchor-icon"></i></a><a href="/api/premium">Telegram Premium</a></h4>
|
||||
<p>Telegram Premium is an optional subscription service that unlocks additional exclusive client-side and API-side features, while helping support the development of the app.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -122,7 +122,7 @@
|
|||
<tr>
|
||||
<td><strong>reply_to</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/InputReplyTo">InputReplyTo</a></td>
|
||||
<td>If set, indicates that the message should be sent in reply to the specified message or story.</td>
|
||||
<td>If set, indicates that the message should be sent in reply to the specified message or story. <br>Also used to quote other messages.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>message</strong></td>
|
||||
|
@ -339,6 +339,11 @@
|
|||
<td>You need a <a href="/api/premium">Telegram Premium subscription</a> to send a message to this user.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>QUOTE_TEXT_INVALID</td>
|
||||
<td>The specified <code>reply_to</code>.<code>quote_text</code> field is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>500</td>
|
||||
<td>RANDOM_ID_DUPLICATE</td>
|
||||
<td>You provided a random ID that was already used.</td>
|
||||
|
@ -355,6 +360,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>REPLY_MESSAGE_ID_INVALID</td>
|
||||
<td>The specified reply-to message ID is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>REPLY_TO_INVALID</td>
|
||||
<td>The specified <code>reply_to</code> field is invalid.</td>
|
||||
</tr>
|
||||
|
|
|
@ -160,6 +160,11 @@
|
|||
<tbody>
|
||||
<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>
|
||||
|
|
|
@ -21,7 +21,7 @@ random_id
|
|||
Vector<long>
|
||||
|
||||
Result
|
||||
Updates…">
|
||||
Updates">
|
||||
<meta property="og:title" content="messages.sendQuickReplyMessages">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -41,7 +41,7 @@ random_id
|
|||
Vector<long>
|
||||
|
||||
Result
|
||||
Updates…">
|
||||
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">
|
||||
|
@ -130,8 +130,7 @@ Updates…">
|
|||
</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>
|
||||
|
||||
|
|
|
@ -108,6 +108,11 @@
|
|||
<td>PEER_ID_INVALID</td>
|
||||
<td>The provided peer id is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>500</td>
|
||||
<td>RANDOM_ID_DUPLICATE</td>
|
||||
<td>You provided a random ID that was already used.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
|
|
|
@ -275,6 +275,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>SWITCH_WEBVIEW_URL_INVALID</td>
|
||||
<td>The URL specified in switch_webview.url is invalid!</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>URL_INVALID</td>
|
||||
<td>Invalid URL provided.</td>
|
||||
</tr>
|
||||
|
|
|
@ -93,6 +93,23 @@
|
|||
</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="#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>
|
||||
<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="#attachmenubot" id="attachmenubot" name="attachmenubot"><i class="anchor-icon"></i></a><a href="/constructor/attachMenuBot">attachMenuBot</a></h4>
|
||||
<p>Represents a <a href="/api/bots/attach">bot mini app that can be launched from the attachment/side menu »</a></p>
|
||||
|
|
|
@ -12,8 +12,7 @@ enabled
|
|||
Bool
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Bool">
|
||||
<meta property="og:title" content="messages.toggleDialogFilterTags">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -24,8 +23,7 @@ enabled
|
|||
Bool
|
||||
|
||||
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>
|
||||
|
||||
|
|
|
@ -133,6 +133,11 @@
|
|||
<td>TO_LANG_INVALID</td>
|
||||
<td>The specified destination language is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>TRANSLATE_REQ_QUOTA_EXCEEDED</td>
|
||||
<td> </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>
|
||||
|
|
|
@ -107,6 +107,11 @@
|
|||
<td>CHAT_NOT_MODIFIED</td>
|
||||
<td>No changes were made to chat information because the new information you passed is identical to the current information.</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>
|
||||
|
|
|
@ -123,6 +123,16 @@
|
|||
<td>FILTER_TITLE_EMPTY</td>
|
||||
<td>The title field of the filter is empty.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>MSG_ID_INVALID</td>
|
||||
<td>Invalid message ID provided.</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="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
|
|
|
@ -89,6 +89,11 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>GIFT_SLUG_EXPIRED</td>
|
||||
<td>The specified gift slug has expired.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>GIFT_SLUG_INVALID</td>
|
||||
<td>The specified slug is invalid.</td>
|
||||
</tr>
|
||||
|
|
|
@ -12,8 +12,7 @@ peer
|
|||
InputPeer
|
||||
|
||||
Result
|
||||
payments.StarsStatus
|
||||
Bots can use this method">
|
||||
payments.StarsStatus">
|
||||
<meta property="og:title" content="payments.getStarsStatus">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -24,8 +23,7 @@ peer
|
|||
InputPeer
|
||||
|
||||
Result
|
||||
payments.StarsStatus
|
||||
Bots can use this method">
|
||||
payments.StarsStatus">
|
||||
<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">
|
||||
|
@ -93,8 +91,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/payments.StarsStatus">payments.StarsStatus</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/payments.StarsStatus">payments.StarsStatus</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -7,15 +7,13 @@
|
|||
<meta property="description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Result
|
||||
Vector<StarsTopupOption>
|
||||
Bots can use this method">
|
||||
Vector<StarsTopupOption>">
|
||||
<meta property="og:title" content="payments.getStarsTopupOptions">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Result
|
||||
Vector<StarsTopupOption>
|
||||
Bots can use this method">
|
||||
Vector<StarsTopupOption>">
|
||||
<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">
|
||||
|
@ -67,8 +65,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/Vector%20t">Vector</a><<a href="/type/StarsTopupOption">StarsTopupOption</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/Vector%20t">Vector</a><<a href="/type/StarsTopupOption">StarsTopupOption</a>></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -112,8 +112,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/payments.PaymentResult">payments.PaymentResult</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/payments.PaymentResult">payments.PaymentResult</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>phone.editGroupCallParticipant</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Edit information about a given group call participant">
|
||||
<meta property="description" content="Edit information about a given group call participant Note: flags.N?Bool parameters can have three possible values: - If the TL flag is not set, the previous value will not be changed. - If the TL flag is set and contains a boolTrue, the previous value will be overwritten to true. - If the TL flag is set and contains a boolFalse, the previous value will be overwritten to false.">
|
||||
<meta property="og:title" content="phone.editGroupCallParticipant">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Edit information about a given group call participant">
|
||||
<meta property="og:description" content="Edit information about a given group call participant Note: flags.N?Bool parameters can have three possible values: - If the TL flag is not set, the previous value will not be changed. - If the TL flag is set and contains a boolTrue, the previous value will be overwritten to true. - If the TL flag is set and contains a boolFalse, the previous value will be overwritten to false.">
|
||||
<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">
|
||||
|
@ -151,9 +151,24 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>RAISE_HAND_FORBIDDEN</td>
|
||||
<td>You cannot raise your hand.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>USER_VOLUME_INVALID</td>
|
||||
<td>The specified user volume is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>VIDEO_PAUSE_FORBIDDEN</td>
|
||||
<td>You cannot pause the video stream.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>VIDEO_STOP_FORBIDDEN</td>
|
||||
<td>You cannot stop the video stream.</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>
|
||||
|
|
|
@ -103,6 +103,11 @@
|
|||
<td>GROUPCALL_FORBIDDEN</td>
|
||||
<td>The group call has already ended.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>GROUPCALL_INVALID</td>
|
||||
<td>The specified group call is invalid.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
|
|
|
@ -97,6 +97,11 @@
|
|||
<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>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>
|
||||
|
|
|
@ -98,6 +98,11 @@
|
|||
<td>JOIN_AS_PEER_INVALID</td>
|
||||
<td>The specified peer cannot be used to join a group call.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PEER_ID_INVALID</td>
|
||||
<td>The provided peer id is invalid.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
|
|
|
@ -125,6 +125,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>GROUPCALL_INVALID</td>
|
||||
<td>The specified group call is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>GROUPCALL_NOT_MODIFIED</td>
|
||||
<td>Group call settings weren't modified.</td>
|
||||
</tr>
|
||||
|
|
|
@ -113,7 +113,23 @@ Result…">
|
|||
</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>SMSJOB_ID_INVALID</td>
|
||||
<td>The specified job ID is invalid.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -13,7 +13,12 @@ string
|
|||
|
||||
Result
|
||||
SmsJob
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description
|
||||
400
|
||||
SMSJOB_ID_INVALID…">
|
||||
<meta property="og:title" content="smsjobs.getSmsJob">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -25,7 +30,12 @@ string
|
|||
|
||||
Result
|
||||
SmsJob
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description
|
||||
400
|
||||
SMSJOB_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">
|
||||
|
@ -94,7 +104,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/SmsJob">SmsJob</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>SMSJOB_ID_INVALID</td>
|
||||
<td>The specified job ID is invalid.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -8,14 +8,20 @@
|
|||
This constructor does not require any parameters.
|
||||
Result
|
||||
smsjobs.Status
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description…">
|
||||
<meta property="og:title" content="smsjobs.getStatus">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Result
|
||||
smsjobs.Status
|
||||
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">
|
||||
|
@ -69,7 +75,23 @@ Bots can use this method">
|
|||
<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/smsjobs.Status">smsjobs.Status</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>NOT_JOINED</td>
|
||||
<td>The current user hasn't joined the Peer-to-Peer Login Program.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -8,14 +8,18 @@
|
|||
This constructor does not require any parameters.
|
||||
Result
|
||||
smsjobs.EligibilityToJoin
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type…">
|
||||
<meta property="og:title" content="smsjobs.isEligibleToJoin">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Result
|
||||
smsjobs.EligibilityToJoin
|
||||
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">
|
||||
|
@ -69,7 +73,23 @@ Bots can use this method">
|
|||
<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/smsjobs.EligibilityToJoin">smsjobs.EligibilityToJoin</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>403</td>
|
||||
<td>NOT_ELIGIBLE</td>
|
||||
<td>The current user is not eligible to join the Peer-to-Peer Login Program.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -8,14 +8,24 @@
|
|||
This constructor does not require any parameters.
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description
|
||||
400
|
||||
NOT_ELIGIBLE…">
|
||||
<meta property="og:title" content="smsjobs.join">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description
|
||||
400
|
||||
NOT_ELIGIBLE…">
|
||||
<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">
|
||||
|
@ -70,7 +80,23 @@ Bots can use this method">
|
|||
<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/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>NOT_ELIGIBLE</td>
|
||||
<td>The current user is not eligible to join the Peer-to-Peer Login Program.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -8,14 +8,24 @@
|
|||
This constructor does not require any parameters.
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description
|
||||
400
|
||||
NOT_JOINED…">
|
||||
<meta property="og:title" content="smsjobs.leave">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description
|
||||
400
|
||||
NOT_JOINED…">
|
||||
<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">
|
||||
|
@ -70,7 +80,23 @@ Bots can use this method">
|
|||
<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/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>NOT_JOINED</td>
|
||||
<td>The current user hasn't joined the Peer-to-Peer Login Program.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -104,7 +104,23 @@ Bool…">
|
|||
</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>NOT_JOINED</td>
|
||||
<td>The current user hasn't joined the Peer-to-Peer Login Program.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -111,8 +111,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/stats.BroadcastRevenueStats">stats.BroadcastRevenueStats</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/stats.BroadcastRevenueStats">stats.BroadcastRevenueStats</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -110,7 +110,6 @@ Maximum number of results to return, see…">
|
|||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/stats.BroadcastRevenueTransactions">stats.BroadcastRevenueTransactions</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>
|
||||
|
|
|
@ -15,7 +15,7 @@ password
|
|||
InputCheckPasswordSRP
|
||||
|
||||
Result
|
||||
stats.BroadcastRevenueWithdrawalUrl…">
|
||||
stats.BroadcastRevenueWithdrawalUrl">
|
||||
<meta property="og:title" content="stats.getBroadcastRevenueWithdrawalUrl">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -29,7 +29,7 @@ password
|
|||
InputCheckPasswordSRP
|
||||
|
||||
Result
|
||||
stats.BroadcastRevenueWithdrawalUrl…">
|
||||
stats.BroadcastRevenueWithdrawalUrl">
|
||||
<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">
|
||||
|
@ -102,8 +102,7 @@ stats.BroadcastRevenueWithdrawalUrl…">
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/stats.BroadcastRevenueWithdrawalUrl">stats.BroadcastRevenueWithdrawalUrl</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/stats.BroadcastRevenueWithdrawalUrl">stats.BroadcastRevenueWithdrawalUrl</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -96,6 +96,11 @@
|
|||
<td>PEER_ID_INVALID</td>
|
||||
<td>The provided peer id is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>STORY_ID_EMPTY</td>
|
||||
<td>You specified no story IDs.</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>
|
||||
|
|
|
@ -99,6 +99,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>CHANNEL_PRIVATE</td>
|
||||
<td>You haven't joined this channel/supergroup.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PEER_ID_INVALID</td>
|
||||
<td>The provided peer id is invalid.</td>
|
||||
</tr>
|
||||
|
|
|
@ -128,6 +128,11 @@
|
|||
<td>STORY_ID_EMPTY</td>
|
||||
<td>You specified no story IDs.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>STORY_ID_INVALID</td>
|
||||
<td>The specified story 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>
|
||||
|
|
|
@ -160,6 +160,11 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>BOOSTS_REQUIRED</td>
|
||||
<td>The specified channel must first be <a href="/api/boost">boosted by its users</a> in order to perform this action.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>IMAGE_PROCESS_FAILED</td>
|
||||
<td>Failure while processing image.</td>
|
||||
</tr>
|
||||
|
@ -219,6 +224,8 @@
|
|||
<p>The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.</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>
|
||||
<h4><a class="anchor" href="#channel-boosts" id="channel-boosts" name="channel-boosts"><i class="anchor-icon"></i></a><a href="/api/boost">Channel boosts</a></h4>
|
||||
<p>Telegram Premium users can grant their favorite channels additional features like the ability to post stories by giving them boosts.</p>
|
||||
<h4><a class="anchor" href="#telegram-premium" id="telegram-premium" name="telegram-premium"><i class="anchor-icon"></i></a><a href="/api/premium">Telegram Premium</a></h4>
|
||||
<p>Telegram Premium is an optional subscription service that unlocks additional exclusive client-side and API-side features, while helping support the development of the app.</p></div>
|
||||
|
||||
|
|
|
@ -15,8 +15,7 @@ id
|
|||
Vector<int>
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Bool">
|
||||
<meta property="og:title" content="stories.togglePinnedToTop">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -30,8 +29,7 @@ id
|
|||
Vector<int>
|
||||
|
||||
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">
|
||||
|
@ -105,8 +103,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>
|
||||
|
||||
|
|
|
@ -88,6 +88,23 @@
|
|||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/upload.CdnFile">upload.CdnFile</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>FILE_TOKEN_INVALID</td>
|
||||
<td>The specified file token 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="#encrypted-cdns-for-speed-and-security" id="encrypted-cdns-for-speed-and-security" name="encrypted-cdns-for-speed-and-security"><i class="anchor-icon"></i></a><a href="/cdn">Encrypted CDNs for Speed and Security</a></h4></div>
|
||||
|
||||
|
|
|
@ -97,6 +97,11 @@
|
|||
<td>You can't call this method in a CDN DC.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>500</td>
|
||||
<td>CDN_SALTS_EMPTY</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>FILE_TOKEN_INVALID</td>
|
||||
<td>The specified file token is invalid.</td>
|
||||
|
|
|
@ -149,6 +149,11 @@
|
|||
<td>File reference expired, it must be refetched as described in <a href="/api/file_reference">the documentation</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>420</td>
|
||||
<td>FLOOD_PREMIUM_WAIT_%d</td>
|
||||
<td>Please wait %d seconds before repeating the action, or purchase a <a href="/api/premium">Telegram Premium subscription</a> to remove this rate limit.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>LIMIT_INVALID</td>
|
||||
<td>The provided limit is invalid.</td>
|
||||
|
@ -179,7 +184,9 @@
|
|||
<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="#encrypted-cdns-for-speed-and-security" id="encrypted-cdns-for-speed-and-security" name="encrypted-cdns-for-speed-and-security"><i class="anchor-icon"></i></a><a href="/cdn">Encrypted CDNs for Speed and Security</a></h4>
|
||||
<h4><a class="anchor" href="#file-references" id="file-references" name="file-references"><i class="anchor-icon"></i></a><a href="/api/file_reference">File references</a></h4>
|
||||
<p>How to handle file references.</p></div>
|
||||
<p>How to handle file references.</p>
|
||||
<h4><a class="anchor" href="#telegram-premium" id="telegram-premium" name="telegram-premium"><i class="anchor-icon"></i></a><a href="/api/premium">Telegram Premium</a></h4>
|
||||
<p>Telegram Premium is an optional subscription service that unlocks additional exclusive client-side and API-side features, while helping support the development of the app.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue