mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-11-25 00:38:33 +01:00
Update content of files
This commit is contained in:
parent
f2f0b00f76
commit
be9e876fe8
82 changed files with 793 additions and 160 deletions
|
@ -65,6 +65,61 @@ Layer…">
|
|||
<ul>
|
||||
<li>Removed messageUserReaction</li>
|
||||
</ul>
|
||||
<h4><a class="anchor" href="#push-notification-changes" id="push-notification-changes" name="push-notification-changes"><i class="anchor-icon"></i></a>PUSH notification changes</h4>
|
||||
<h5><a class="anchor" href="#new-push-notifications" id="new-push-notifications" name="new-push-notifications"><i class="anchor-icon"></i></a>New PUSH notifications</h5>
|
||||
<ul>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">CHAT_REACT_AUDIO</a> - <code>{1}: {3} to your voice message in {2}</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">CHAT_REACT_CONTACT</a> - <code>{1}: {3} to your contact {4} in {2}</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">CHAT_REACT_DOC</a> - <code>{1}: {3} to your file in {2}</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">CHAT_REACT_GAME</a> - <code>{1}: {3} to your game in {2}</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">CHAT_REACT_GEO</a> - <code>{1}: {3} to your map in {2}</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">CHAT_REACT_GEOLIVE</a> - <code>{1}: {3} to your live location in {2}</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">CHAT_REACT_GIF</a> - <code>{1}: {3} to your GIF in {2}</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">CHAT_REACT_INVOICE</a> - <code>{1}: {3} to your invoice in {2}</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">CHAT_REACT_NOTEXT</a> - <code>{1}: {3} to your message in {2}</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">CHAT_REACT_PHOTO</a> - <code>{1}: {3} to your photo in {2}</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">CHAT_REACT_POLL</a> - <code>{1}: {3} to your poll {4} in {2}</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">CHAT_REACT_QUIZ</a> - <code>{1}: {3} to your quiz {4} in {2}</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">CHAT_REACT_ROUND</a> - <code>{1}: {3} to your video message in {2}</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">CHAT_REACT_STICKER</a> - <code>{1}: {3} to your {4} sticker in {2}</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">CHAT_REACT_TEXT</a> - <code>{1}: {3} in {2} to your "{4}"</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">CHAT_REACT_VIDEO</a> - <code>{1}: {3} to your video in {2}</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">CHAT_REQ_JOINED</a> - <code>{2}|{1} was accepted into the group</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">REACT_AUDIO</a> - <code>{1}: {2} to your voice message</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">REACT_CONTACT</a> - <code>{1}: {2} to your contact {3}</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">REACT_DOC</a> - <code>{1}: {2} to your file</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">REACT_GAME</a> - <code>{1}: {2} to your game</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">REACT_GEO</a> - <code>{1}: {2} to your map</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">REACT_GEOLIVE</a> - <code>{1}: {2} to your live location</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">REACT_GIF</a> - <code>{1}: {2} to your GIF</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">REACT_INVOICE</a> - <code>{1}: {2} to your invoice</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">REACT_NOTEXT</a> - <code>{1}: {2} to your message</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">REACT_PHOTO</a> - <code>{1}: {2} to your photo</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">REACT_POLL</a> - <code>{1}: {2} to your poll {3}</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">REACT_QUIZ</a> - <code>{1}: {2} to your quiz {3}</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">REACT_ROUND</a> - <code>{1}: {2} to your video message</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">REACT_STICKER</a> - <code>{1}: {2} to your {3} sticker</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">REACT_TEXT</a> - <code>{1}: {2} to your "{3}"</code></li>
|
||||
<li>Added <a href="/api/push-updates#possible-notifications">REACT_VIDEO</a> - <code>{1}: {2} to your video</code></li>
|
||||
</ul>
|
||||
<h5><a class="anchor" href="#changed-push-notifications" id="changed-push-notifications" name="changed-push-notifications"><i class="anchor-icon"></i></a>Changed PUSH notifications</h5>
|
||||
<ul>
|
||||
<li>Changed template from <code>{1} posted {2} files</code> to <code>{1} posted {2}</code> in <a href="/api/push-updates#possible-notifications">CHANNEL_MESSAGE_DOCS</a></li>
|
||||
<li>Changed template from <code>{1} posted {2} forwarded messages</code> to <code>{1} posted {2}</code> in <a href="/api/push-updates#possible-notifications">CHANNEL_MESSAGE_FWDS</a></li>
|
||||
<li>Changed template from <code>{1} posted {2} photos</code> to <code>{1} posted {2}</code> in <a href="/api/push-updates#possible-notifications">CHANNEL_MESSAGE_PHOTOS</a></li>
|
||||
<li>Changed template from <code>{1} posted {2} music files</code> to <code>{1} posted {2}</code> in <a href="/api/push-updates#possible-notifications">CHANNEL_MESSAGE_PLAYLIST</a></li>
|
||||
<li>Changed template from <code>{1} posted {2} videos</code> to <code>{1} posted {2}</code> in <a href="/api/push-updates#possible-notifications">CHANNEL_MESSAGE_VIDEOS</a></li>
|
||||
<li>Changed template from <code>{1} sent {3} files to the group {2}</code> to <code>{1} sent {3} to the group {2}</code> in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_DOCS</a></li>
|
||||
<li>Changed template from <code>{1} forwarded {3} messages to the group {2}</code> to <code>{1} forwarded {3} to the group {2}</code> in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_FWDS</a></li>
|
||||
<li>Changed template from <code>{1} sent {3} photos to the group {2}</code> to <code>{1} sent {3} to the group {2}</code> in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_PHOTOS</a></li>
|
||||
<li>Changed template from <code>{1} sent {3} music files to the group {2}</code> to <code>{1} sent {3} to the group {2}</code> in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_PLAYLIST</a></li>
|
||||
<li>Changed template from <code>{1} sent {3} videos to the group {2}</code> to <code>{1} sent {3} to the group {2}</code> in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_VIDEOS</a></li>
|
||||
<li>Changed template from <code>{1} sent you {2} files</code> to <code>{1} sent you {2}</code> in <a href="/api/push-updates#possible-notifications">MESSAGE_DOCS</a></li>
|
||||
<li>Changed template from <code>{1} forwarded you {2} messages</code> to <code>{1} forwarded you {2}</code> in <a href="/api/push-updates#possible-notifications">MESSAGE_FWDS</a></li>
|
||||
<li>Changed template from <code>{1} sent you {2} photos</code> to <code>{1} sent you {2}</code> in <a href="/api/push-updates#possible-notifications">MESSAGE_PHOTOS</a></li>
|
||||
<li>Changed template from <code>{1} sent you {2} music files</code> to <code>{1} sent you {2}</code> in <a href="/api/push-updates#possible-notifications">MESSAGE_PLAYLIST</a></li>
|
||||
<li>Changed template from <code>{1} sent you {2} videos</code> to <code>{1} sent you {2}</code> in <a href="/api/push-updates#possible-notifications">MESSAGE_VIDEOS</a></li>
|
||||
</ul>
|
||||
<h4><a class="anchor" href="#schema" id="schema" name="schema"><i class="anchor-icon"></i></a>Schema</h4>
|
||||
<div><pre><code><a href="/constructor/dialog">dialog</a>#a8edd0f5 flags:<a href="/type/%23">#</a> pinned:flags.2?<a href="/constructor/true">true</a> unread_mark:flags.3?<a href="/constructor/true">true</a> peer:<a href="/type/Peer">Peer</a> top_message:<a href="/type/int">int</a> read_inbox_max_id:<a href="/type/int">int</a> read_outbox_max_id:<a href="/type/int">int</a> unread_count:<a href="/type/int">int</a> unread_mentions_count:<a href="/type/int">int</a> unread_reactions_count:<a href="/type/int">int</a> notify_settings:<a href="/type/PeerNotifySettings">PeerNotifySettings</a> pts:flags.0?<a href="/type/int">int</a> draft:flags.1?<a href="/type/DraftMessage">DraftMessage</a> folder_id:flags.4?<a href="/type/int">int</a> = <a href="/type/Dialog">Dialog</a>;<br>
|
||||
<a href="/constructor/messageReactions">messageReactions</a>#4f2b9479 flags:<a href="/type/%23">#</a> min:flags.0?<a href="/constructor/true">true</a> can_see_list:flags.2?<a href="/constructor/true">true</a> results:<a href="/type/Vector%20t">Vector</a><<a href="/type/ReactionCount">ReactionCount</a>> recent_reactions:flags.1?<a href="/type/Vector%20t">Vector</a><<a href="/type/MessagePeerReaction">MessagePeerReaction</a>> = <a href="/type/MessageReactions">MessageReactions</a>;
|
||||
|
|
|
@ -193,13 +193,13 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>CHANNEL_MESSAGE_DOCS</td>
|
||||
<td>{1} posted {2} files</td>
|
||||
<td>{1} posted {2}</td>
|
||||
<td>1. Channel name<br>2. Number of documents that were posted</td>
|
||||
<td><strong>attachb64</strong>: Base64-encoded version of the attached media (related to the first message)<br><strong>channel_id</strong>: <a href="/api/channel">Channel/supergroup</a> identifier (related to the first message)<br><strong>chat_from_id</strong>: Groups only, message author identifier (related to the first message)<br><strong>edit_date</strong>: When was the message last edited (related to the first message)<br><strong>mention</strong>: Whether the user was mentioned in the message (related to the first message)<br><strong>msg_id</strong>: ID of the message (related to the first message)<br><strong>silent</strong>: Whether the message was posted silently (no notification should be issued) (related to the first message)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHANNEL_MESSAGE_FWDS</td>
|
||||
<td>{1} posted {2} forwarded messages</td>
|
||||
<td>{1} posted {2}</td>
|
||||
<td>1. Message author<br>2. Number of forwarded messages</td>
|
||||
<td><strong>attachb64</strong>: Base64-encoded version of the attached media (related to the first message)<br><strong>channel_id</strong>: <a href="/api/channel">Channel/supergroup</a> identifier (related to the first message)<br><strong>chat_from_id</strong>: Groups only, message author identifier (related to the first message)<br><strong>edit_date</strong>: When was the message last edited (related to the first message)<br><strong>mention</strong>: Whether the user was mentioned in the message (related to the first message)<br><strong>msg_id</strong>: ID of the message (related to the first message)<br><strong>silent</strong>: Whether the message was posted silently (no notification should be issued) (related to the first message)</td>
|
||||
</tr>
|
||||
|
@ -247,13 +247,13 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>CHANNEL_MESSAGE_PHOTOS</td>
|
||||
<td>{1} posted {2} photos</td>
|
||||
<td>{1} posted {2}</td>
|
||||
<td>1. Channel name<br>2. Number of photos that was sent</td>
|
||||
<td><strong>attachb64</strong>: Base64-encoded version of the attached media (related to the first message)<br><strong>channel_id</strong>: <a href="/api/channel">Channel/supergroup</a> identifier (related to the first message)<br><strong>chat_from_id</strong>: Groups only, message author identifier (related to the first message)<br><strong>edit_date</strong>: When was the message last edited (related to the first message)<br><strong>mention</strong>: Whether the user was mentioned in the message (related to the first message)<br><strong>msg_id</strong>: ID of the message (related to the first message)<br><strong>silent</strong>: Whether the message was posted silently (no notification should be issued) (related to the first message)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHANNEL_MESSAGE_PLAYLIST</td>
|
||||
<td>{1} posted {2} music files</td>
|
||||
<td>{1} posted {2}</td>
|
||||
<td>1. Channel name<br>2. Number of audio files that were posted</td>
|
||||
<td><strong>attachb64</strong>: Base64-encoded version of the attached media<br><strong>channel_id</strong>: <a href="/api/channel">Channel/supergroup</a> identifier<br><strong>chat_from_id</strong>: Groups only, message author identifier<br><strong>edit_date</strong>: When was the message last edited<br><strong>mention</strong>: Whether the user was mentioned in the message<br><strong>msg_id</strong>: ID of the message<br><strong>silent</strong>: Whether the message was posted silently (no notification should be issued)</td>
|
||||
</tr>
|
||||
|
@ -295,7 +295,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>CHANNEL_MESSAGE_VIDEOS</td>
|
||||
<td>{1} posted {2} videos</td>
|
||||
<td>{1} posted {2}</td>
|
||||
<td>1. Channel name<br>2. Number of videos that were posted</td>
|
||||
<td><strong>attachb64</strong>: Base64-encoded version of the attached media (related to the first message)<br><strong>channel_id</strong>: <a href="/api/channel">Channel/supergroup</a> identifier (related to the first message)<br><strong>chat_from_id</strong>: Groups only, message author identifier (related to the first message)<br><strong>edit_date</strong>: When was the message last edited (related to the first message)<br><strong>mention</strong>: Whether the user was mentioned in the message (related to the first message)<br><strong>msg_id</strong>: ID of the message (related to the first message)<br><strong>silent</strong>: Whether the message was posted silently (no notification should be issued) (related to the first message)</td>
|
||||
</tr>
|
||||
|
@ -367,13 +367,13 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_MESSAGE_DOCS</td>
|
||||
<td>{1} sent {3} files to the group {2}</td>
|
||||
<td>{1} sent {3} to the group {2}</td>
|
||||
<td>1. User name<br>2. Group name<br>3. Number of documents that were sent</td>
|
||||
<td><strong>attachb64</strong>: Base64-encoded version of the attached media (related to the first message)<br><strong>chat_from_id</strong>: Groups only, message author identifier (related to the first message)<br><strong>chat_id</strong>: <a href="/api/channel">Chat</a> identifier (related to the first message)<br><strong>edit_date</strong>: When was the message last edited (related to the first message)<br><strong>mention</strong>: Whether the user was mentioned in the message (related to the first message)<br><strong>msg_id</strong>: ID of the message (related to the first message)<br><strong>silent</strong>: Whether the message was posted silently (no notification should be issued) (related to the first message)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_MESSAGE_FWDS</td>
|
||||
<td>{1} forwarded {3} messages to the group {2}</td>
|
||||
<td>{1} forwarded {3} to the group {2}</td>
|
||||
<td>1. User name<br>2. Group name<br>3. Number of messages that were forwarded</td>
|
||||
<td><strong>attachb64</strong>: Base64-encoded version of the attached media (related to the first message)<br><strong>chat_from_id</strong>: Groups only, message author identifier (related to the first message)<br><strong>chat_id</strong>: <a href="/api/channel">Chat</a> identifier (related to the first message)<br><strong>edit_date</strong>: When was the message last edited (related to the first message)<br><strong>mention</strong>: Whether the user was mentioned in the message (related to the first message)<br><strong>msg_id</strong>: ID of the message (related to the first message)<br><strong>silent</strong>: Whether the message was posted silently (no notification should be issued) (related to the first message)</td>
|
||||
</tr>
|
||||
|
@ -427,13 +427,13 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_MESSAGE_PHOTOS</td>
|
||||
<td>{1} sent {3} photos to the group {2}</td>
|
||||
<td>{1} sent {3} to the group {2}</td>
|
||||
<td>1. User name<br>2. Group name<br>3. Number of photos that were sent</td>
|
||||
<td><strong>attachb64</strong>: Base64-encoded version of the attached media (related to the first message)<br><strong>chat_from_id</strong>: Groups only, message author identifier (related to the first message)<br><strong>chat_id</strong>: <a href="/api/channel">Chat</a> identifier (related to the first message)<br><strong>edit_date</strong>: When was the message last edited (related to the first message)<br><strong>mention</strong>: Whether the user was mentioned in the message (related to the first message)<br><strong>msg_id</strong>: ID of the message (related to the first message)<br><strong>silent</strong>: Whether the message was posted silently (no notification should be issued) (related to the first message)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_MESSAGE_PLAYLIST</td>
|
||||
<td>{1} sent {3} music files to the group {2}</td>
|
||||
<td>{1} sent {3} to the group {2}</td>
|
||||
<td>1. User name<br>2. Group name<br>3. Number of audio files that were sent</td>
|
||||
<td><strong>attachb64</strong>: Base64-encoded version of the attached media<br><strong>chat_from_id</strong>: Groups only, message author identifier<br><strong>chat_id</strong>: <a href="/api/channel">Chat</a> identifier<br><strong>edit_date</strong>: When was the message last edited<br><strong>mention</strong>: Whether the user was mentioned in the message<br><strong>msg_id</strong>: ID of the message<br><strong>silent</strong>: Whether the message was posted silently (no notification should be issued)</td>
|
||||
</tr>
|
||||
|
@ -475,7 +475,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_MESSAGE_VIDEOS</td>
|
||||
<td>{1} sent {3} videos to the group {2}</td>
|
||||
<td>{1} sent {3} to the group {2}</td>
|
||||
<td>1. User name<br>2. Group name<br>3. Number of videos that were sent</td>
|
||||
<td><strong>attachb64</strong>: Base64-encoded version of the attached media (related to the first message)<br><strong>chat_from_id</strong>: Groups only, message author identifier (related to the first message)<br><strong>chat_id</strong>: <a href="/api/channel">Chat</a> identifier (related to the first message)<br><strong>edit_date</strong>: When was the message last edited (related to the first message)<br><strong>mention</strong>: Whether the user was mentioned in the message (related to the first message)<br><strong>msg_id</strong>: ID of the message (related to the first message)<br><strong>silent</strong>: Whether the message was posted silently (no notification should be issued) (related to the first message)</td>
|
||||
</tr>
|
||||
|
@ -486,6 +486,108 @@
|
|||
<td><strong>chat_from_id</strong>: Message author identifier<br><strong>chat_id</strong>: chat identifier<br><strong>msg_id</strong>: ID of the message</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_REACT_AUDIO</td>
|
||||
<td>{1}: {3} to your voice message in {2}</td>
|
||||
<td>1. <br>2. <br>3.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_REACT_CONTACT</td>
|
||||
<td>{1}: {3} to your contact {4} in {2}</td>
|
||||
<td>1. <br>2. <br>3. <br>4.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_REACT_DOC</td>
|
||||
<td>{1}: {3} to your file in {2}</td>
|
||||
<td>1. <br>2. <br>3.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_REACT_GAME</td>
|
||||
<td>{1}: {3} to your game in {2}</td>
|
||||
<td>1. <br>2. <br>3.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_REACT_GEO</td>
|
||||
<td>{1}: {3} to your map in {2}</td>
|
||||
<td>1. <br>2. <br>3.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_REACT_GEOLIVE</td>
|
||||
<td>{1}: {3} to your live location in {2}</td>
|
||||
<td>1. <br>2. <br>3.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_REACT_GIF</td>
|
||||
<td>{1}: {3} to your GIF in {2}</td>
|
||||
<td>1. <br>2. <br>3.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_REACT_INVOICE</td>
|
||||
<td>{1}: {3} to your invoice in {2}</td>
|
||||
<td>1. <br>2. <br>3.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_REACT_NOTEXT</td>
|
||||
<td>{1}: {3} to your message in {2}</td>
|
||||
<td>1. <br>2. <br>3.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_REACT_PHOTO</td>
|
||||
<td>{1}: {3} to your photo in {2}</td>
|
||||
<td>1. <br>2. <br>3.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_REACT_POLL</td>
|
||||
<td>{1}: {3} to your poll {4} in {2}</td>
|
||||
<td>1. <br>2. <br>3. <br>4.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_REACT_QUIZ</td>
|
||||
<td>{1}: {3} to your quiz {4} in {2}</td>
|
||||
<td>1. <br>2. <br>3. <br>4.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_REACT_ROUND</td>
|
||||
<td>{1}: {3} to your video message in {2}</td>
|
||||
<td>1. <br>2. <br>3.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_REACT_STICKER</td>
|
||||
<td>{1}: {3} to your {4} sticker in {2}</td>
|
||||
<td>1. <br>2. <br>3. <br>4.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_REACT_TEXT</td>
|
||||
<td>{1}: {3} in {2} to your "{4}"</td>
|
||||
<td>1. <br>2. <br>3. <br>4.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_REACT_VIDEO</td>
|
||||
<td>{1}: {3} to your video in {2}</td>
|
||||
<td>1. <br>2. <br>3.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_REQ_JOINED</td>
|
||||
<td>{2}</td>
|
||||
<td>{1} was accepted into the group</td>
|
||||
<td>1. <br>2.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CHAT_RETURNED</td>
|
||||
<td>{1} returned to the group {2}</td>
|
||||
<td>1. Message author<br>2. Chat name</td>
|
||||
|
@ -583,13 +685,13 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>MESSAGE_DOCS</td>
|
||||
<td>{1} sent you {2} files</td>
|
||||
<td>{1} sent you {2}</td>
|
||||
<td>1. User name<br>2. Number of documents that were sent</td>
|
||||
<td><strong>attachb64</strong>: Base64-encoded version of the attached media (related to the first message)<br><strong>chat_from_id</strong>: Groups only, message author identifier (related to the first message)<br><strong>edit_date</strong>: When was the message last edited (related to the first message)<br><strong>from_id</strong>: Author identifier (related to the first message)<br><strong>mention</strong>: Whether the user was mentioned in the message (related to the first message)<br><strong>msg_id</strong>: ID of the message (related to the first message)<br><strong>silent</strong>: Whether the message was posted silently (no notification should be issued) (related to the first message)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>MESSAGE_FWDS</td>
|
||||
<td>{1} forwarded you {2} messages</td>
|
||||
<td>{1} forwarded you {2}</td>
|
||||
<td>1. User name<br>2. Number of messages that were forwarded</td>
|
||||
<td><strong>attachb64</strong>: Base64-encoded version of the attached media (related to the first message)<br><strong>chat_from_id</strong>: Groups only, message author identifier (related to the first message)<br><strong>edit_date</strong>: When was the message last edited (related to the first message)<br><strong>from_id</strong>: Author identifier (related to the first message)<br><strong>mention</strong>: Whether the user was mentioned in the message (related to the first message)<br><strong>msg_id</strong>: ID of the message (related to the first message)<br><strong>silent</strong>: Whether the message was posted silently (no notification should be issued) (related to the first message)</td>
|
||||
</tr>
|
||||
|
@ -643,7 +745,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>MESSAGE_PHOTOS</td>
|
||||
<td>{1} sent you {2} photos</td>
|
||||
<td>{1} sent you {2}</td>
|
||||
<td>1. User name<br>2. Number of photos that were sent</td>
|
||||
<td><strong>attachb64</strong>: Base64-encoded version of the attached media (related to the first message)<br><strong>chat_from_id</strong>: Groups only, message author identifier (related to the first message)<br><strong>edit_date</strong>: When was the message last edited (related to the first message)<br><strong>from_id</strong>: Author identifier (related to the first message)<br><strong>mention</strong>: Whether the user was mentioned in the message (related to the first message)<br><strong>msg_id</strong>: ID of the message (related to the first message)<br><strong>silent</strong>: Whether the message was posted silently (no notification should be issued) (related to the first message)</td>
|
||||
</tr>
|
||||
|
@ -655,7 +757,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>MESSAGE_PLAYLIST</td>
|
||||
<td>{1} sent you {2} music files</td>
|
||||
<td>{1} sent you {2}</td>
|
||||
<td>1. User name<br>2. Number of audio files that were sent</td>
|
||||
<td><strong>attachb64</strong>: Base64-encoded version of the attached media<br><strong>chat_from_id</strong>: Groups only, message author identifier<br><strong>edit_date</strong>: When was the message last edited<br><strong>from_id</strong>: Author identifier<br><strong>mention</strong>: Whether the user was mentioned in the message<br><strong>msg_id</strong>: ID of the message<br><strong>silent</strong>: Whether the message was posted silently (no notification should be issued)</td>
|
||||
</tr>
|
||||
|
@ -703,7 +805,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>MESSAGE_VIDEOS</td>
|
||||
<td>{1} sent you {2} videos</td>
|
||||
<td>{1} sent you {2}</td>
|
||||
<td>1. User name<br>2. Number of videos that were sent</td>
|
||||
<td><strong>attachb64</strong>: Base64-encoded version of the attached media (related to the first message)<br><strong>chat_from_id</strong>: Groups only, message author identifier (related to the first message)<br><strong>edit_date</strong>: When was the message last edited (related to the first message)<br><strong>from_id</strong>: Author identifier (related to the first message)<br><strong>mention</strong>: Whether the user was mentioned in the message (related to the first message)<br><strong>msg_id</strong>: ID of the message (related to the first message)<br><strong>silent</strong>: Whether the message was posted silently (no notification should be issued) (related to the first message)</td>
|
||||
</tr>
|
||||
|
@ -929,6 +1031,102 @@
|
|||
<td>1. User name<br>2. Group name</td>
|
||||
<td><strong>attachb64</strong>: Base64-encoded version of the attached media<br><strong>channel_id</strong>: For <a href="/api/channel">channels and supergroups</a>, <a href="/api/channel">Channel/supergroup</a> identifier<br><strong>chat_from_id</strong>: Groups only, message author identifier<br><strong>chat_id</strong>: For <a href="/api/channel">chats</a>, <a href="/api/channel">Chat</a> identifier<br><strong>edit_date</strong>: When was the message last edited<br><strong>from_id</strong>: For PMs, Author identifier<br><strong>mention</strong>: Whether the user was mentioned in the message<br><strong>msg_id</strong>: ID of the message<br><strong>silent</strong>: Whether the message was posted silently (no notification should be issued)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REACT_AUDIO</td>
|
||||
<td>{1}: {2} to your voice message</td>
|
||||
<td>1. <br>2.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REACT_CONTACT</td>
|
||||
<td>{1}: {2} to your contact {3}</td>
|
||||
<td>1. <br>2. <br>3.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REACT_DOC</td>
|
||||
<td>{1}: {2} to your file</td>
|
||||
<td>1. <br>2.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REACT_GAME</td>
|
||||
<td>{1}: {2} to your game</td>
|
||||
<td>1. <br>2.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REACT_GEO</td>
|
||||
<td>{1}: {2} to your map</td>
|
||||
<td>1. <br>2.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REACT_GEOLIVE</td>
|
||||
<td>{1}: {2} to your live location</td>
|
||||
<td>1. <br>2.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REACT_GIF</td>
|
||||
<td>{1}: {2} to your GIF</td>
|
||||
<td>1. <br>2.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REACT_INVOICE</td>
|
||||
<td>{1}: {2} to your invoice</td>
|
||||
<td>1. <br>2.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REACT_NOTEXT</td>
|
||||
<td>{1}: {2} to your message</td>
|
||||
<td>1. <br>2.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REACT_PHOTO</td>
|
||||
<td>{1}: {2} to your photo</td>
|
||||
<td>1. <br>2.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REACT_POLL</td>
|
||||
<td>{1}: {2} to your poll {3}</td>
|
||||
<td>1. <br>2. <br>3.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REACT_QUIZ</td>
|
||||
<td>{1}: {2} to your quiz {3}</td>
|
||||
<td>1. <br>2. <br>3.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REACT_ROUND</td>
|
||||
<td>{1}: {2} to your video message</td>
|
||||
<td>1. <br>2.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REACT_STICKER</td>
|
||||
<td>{1}: {2} to your {3} sticker</td>
|
||||
<td>1. <br>2. <br>3.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REACT_TEXT</td>
|
||||
<td>{1}: {2} to your "{3}"</td>
|
||||
<td>1. <br>2. <br>3.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REACT_VIDEO</td>
|
||||
<td>{1}: {2} to your video</td>
|
||||
<td>1. <br>2.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
|
|
|
@ -111,6 +111,23 @@ flags.0?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="#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>HASH_INVALID</td>
|
||||
<td>The provided hash 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>
|
||||
|
|
|
@ -103,10 +103,10 @@
|
|||
<tr>
|
||||
<td>400</td>
|
||||
<td>PHONE_CODE_EXPIRED</td>
|
||||
<td>The phone code you provided has expired, this may happen if it was sent to any chat on telegram (if the code is sent through a telegram chat (not the official account) to avoid it append or prepend to the code some chars).</td>
|
||||
<td>The phone code you provided has expired.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>406</td>
|
||||
<td>PHONE_NUMBER_INVALID</td>
|
||||
<td>The phone number is invalid.</td>
|
||||
</tr>
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
<tr>
|
||||
<td>400</td>
|
||||
<td>USERNAME_INVALID</td>
|
||||
<td>Unacceptable username.</td>
|
||||
<td>The provided username is not valid.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -87,8 +87,8 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>420</td>
|
||||
<td>2FA_CONFIRM_WAIT_X</td>
|
||||
<td>Since this account is active and protected by a 2FA password, we will delete it in 1 week for security purposes. You can cancel this process at any time, you'll be able to reset your account in X seconds.</td>
|
||||
<td>2FA_CONFIRM_WAIT_%d</td>
|
||||
<td>Since this account is active and protected by a 2FA password, we will delete it in 1 week for security purposes. You can cancel this process at any time, you'll be able to reset your account in %d seconds.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -121,8 +121,8 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>420</td>
|
||||
<td>TAKEOUT_INIT_DELAY_X</td>
|
||||
<td>Wait X seconds before initing takeout.</td>
|
||||
<td>TAKEOUT_INIT_DELAY_%d</td>
|
||||
<td>Wait %d seconds before initing takeout.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
<td>The provided phone number is banned from telegram.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>406</td>
|
||||
<td>PHONE_NUMBER_INVALID</td>
|
||||
<td>The phone number is invalid.</td>
|
||||
</tr>
|
||||
|
|
|
@ -13,7 +13,12 @@ int
|
|||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description
|
||||
406
|
||||
FR…">
|
||||
<meta property="og:title" content="account.setAuthorizationTTL">
|
||||
<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
|
||||
406
|
||||
FR…">
|
||||
<link rel="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
|
||||
|
||||
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
|
||||
|
@ -92,6 +102,23 @@ Bots can use this method">
|
|||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/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>406</td>
|
||||
<td>FRESH_RESET_AUTHORISATION_FORBIDDEN</td>
|
||||
<td>You can't logout other sessions if less than 24 hours have passed since you logged on the current session.</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>
|
||||
|
|
|
@ -92,13 +92,13 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>EMAIL_UNCONFIRMED</td>
|
||||
<td>Email unconfirmed.</td>
|
||||
<td>EMAIL_UNCONFIRMED_%d</td>
|
||||
<td>The provided email isn't confirmed, X is the length of the verification code that was just sent to the email: use <a href="https://core.telegram.org/method/account.verifyEmail">account.verifyEmail</a> to enter the received verification code and enable the recovery email.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>EMAIL_UNCONFIRMED_X</td>
|
||||
<td>The provided email isn't confirmed, X is the length of the verification code that was just sent to the email: use <a href="/method/account.verifyEmail">account.verifyEmail</a> to enter the received verification code and enable the recovery email.</td>
|
||||
<td>EMAIL_UNCONFIRMED</td>
|
||||
<td>Email unconfirmed.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
|
@ -113,7 +113,7 @@
|
|||
<tr>
|
||||
<td>400</td>
|
||||
<td>PASSWORD_HASH_INVALID</td>
|
||||
<td>The old password hash is invalid.</td>
|
||||
<td>The provided password hash is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
|
@ -129,9 +129,7 @@
|
|||
</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="#two-factor-authentication" id="two-factor-authentication" name="two-factor-authentication"><i class="anchor-icon"></i></a><a href="/api/srp">Two-factor authentication</a></h4>
|
||||
<p>How to login to a user's account if they have enabled 2FA, how to change password.</p>
|
||||
<h4><a class="anchor" href="#accountverifyemail" id="accountverifyemail" name="accountverifyemail"><i class="anchor-icon"></i></a><a href="/method/account.verifyEmail">account.verifyEmail</a></h4>
|
||||
<p>Verify an email address for telegram <a href="/passport">passport</a>.</p></div>
|
||||
<p>How to login to a user's account if they have enabled 2FA, how to change password.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -93,17 +93,17 @@
|
|||
<tr>
|
||||
<td>400</td>
|
||||
<td>USERNAME_INVALID</td>
|
||||
<td>Unacceptable username.</td>
|
||||
<td>The provided username is not valid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>USERNAME_NOT_MODIFIED</td>
|
||||
<td>Username is not different from the current username.</td>
|
||||
<td>The username was not modified.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>USERNAME_OCCUPIED</td>
|
||||
<td>Username is taken.</td>
|
||||
<td>The provided username is already occupied.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -103,7 +103,7 @@
|
|||
<tr>
|
||||
<td>400</td>
|
||||
<td>PHONE_CODE_EXPIRED</td>
|
||||
<td>The phone code you provided has expired, this may happen if it was sent to any chat on telegram (if the code is sent through a telegram chat (not the official account) to avoid it append or prepend to the code some chars).</td>
|
||||
<td>The phone code you provided has expired.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
|
|
|
@ -88,6 +88,11 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>AUTH_TOKEN_EXPIRED</td>
|
||||
<td>The authorization token has expired.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>AUTH_TOKEN_INVALIDX</td>
|
||||
<td>The specified auth token is invalid.</td>
|
||||
</tr>
|
||||
|
|
|
@ -104,7 +104,7 @@
|
|||
<tr>
|
||||
<td>400</td>
|
||||
<td>ENCRYPTED_MESSAGE_INVALID</td>
|
||||
<td>Encrypted message is incorrect.</td>
|
||||
<td>Encrypted message invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
|
@ -114,7 +114,7 @@
|
|||
<tr>
|
||||
<td>400</td>
|
||||
<td>TEMP_AUTH_KEY_EMPTY</td>
|
||||
<td>The request was not performed with a temporary authorization key.</td>
|
||||
<td>No temporary auth key provided.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -93,10 +93,10 @@
|
|||
<tr>
|
||||
<td>400</td>
|
||||
<td>PHONE_CODE_EXPIRED</td>
|
||||
<td>The phone code you provided has expired, this may happen if it was sent to any chat on telegram (if the code is sent through a telegram chat (not the official account) to avoid it append or prepend to the code some chars).</td>
|
||||
<td>The phone code you provided has expired.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>406</td>
|
||||
<td>PHONE_NUMBER_INVALID</td>
|
||||
<td>The phone number is invalid.</td>
|
||||
</tr>
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
<tr>
|
||||
<td>400</td>
|
||||
<td>PASSWORD_HASH_INVALID</td>
|
||||
<td>The provided password isn't valid.</td>
|
||||
<td>The provided password hash is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
|
|
|
@ -103,28 +103,23 @@
|
|||
<tr>
|
||||
<td>400</td>
|
||||
<td>ACCESS_TOKEN_EXPIRED</td>
|
||||
<td>Bot token expired.</td>
|
||||
<td>Access token expired.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>ACCESS_TOKEN_INVALID</td>
|
||||
<td>The provided token is not valid.</td>
|
||||
<td>Access token invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>API_ID_INVALID</td>
|
||||
<td>The api_id/api_hash combination is invalid.</td>
|
||||
<td>API ID invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>API_ID_PUBLISHED_FLOOD</td>
|
||||
<td>This API id was published somewhere, you can't use it now.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>401</td>
|
||||
<td>AUTH_KEY_INVALID</td>
|
||||
<td>Auth key 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>
|
||||
|
|
|
@ -103,7 +103,7 @@
|
|||
<tr>
|
||||
<td>400</td>
|
||||
<td>NEW_SETTINGS_INVALID</td>
|
||||
<td>The new settings are invalid.</td>
|
||||
<td>The new password settings are invalid.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
<tr>
|
||||
<td>400</td>
|
||||
<td>PHONE_CODE_EXPIRED</td>
|
||||
<td>The phone code you provided has expired, this may happen if it was sent to any chat on telegram (if the code is sent through a telegram chat (not the official account) to avoid it append or prepend to the code some chars).</td>
|
||||
<td>The phone code you provided has expired.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
|
@ -100,7 +100,7 @@
|
|||
<td>phone_code_hash is missing.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>406</td>
|
||||
<td>PHONE_NUMBER_INVALID</td>
|
||||
<td>The phone number is invalid.</td>
|
||||
</tr>
|
||||
|
|
|
@ -115,16 +115,6 @@
|
|||
<td>The temporary auth key must be binded to the permanent auth key to use these methods.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>303</td>
|
||||
<td>NETWORK_MIGRATE_X</td>
|
||||
<td>Repeat the query to data-center X.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>303</td>
|
||||
<td>PHONE_MIGRATE_X</td>
|
||||
<td>Repeat the query to data-center X.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PHONE_NUMBER_APP_SIGNUP_FORBIDDEN</td>
|
||||
<td>You can't sign up using this app.</td>
|
||||
|
@ -140,9 +130,9 @@
|
|||
<td>You asked for the code too many times.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>406</td>
|
||||
<td>PHONE_NUMBER_INVALID</td>
|
||||
<td>Invalid phone number.</td>
|
||||
<td>The phone number is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>406</td>
|
||||
|
|
|
@ -98,32 +98,27 @@
|
|||
<tr>
|
||||
<td>400</td>
|
||||
<td>PHONE_CODE_EMPTY</td>
|
||||
<td><strong>phone_code</strong> from the SMS is empty.</td>
|
||||
<td>phone_code is missing.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PHONE_CODE_EXPIRED</td>
|
||||
<td>SMS expired.</td>
|
||||
<td>The phone code you provided has expired.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PHONE_CODE_INVALID</td>
|
||||
<td>Invalid SMS code was sent.</td>
|
||||
<td>The provided phone code is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>406</td>
|
||||
<td>PHONE_NUMBER_INVALID</td>
|
||||
<td>Invalid phone number.</td>
|
||||
<td>The phone number is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PHONE_NUMBER_UNOCCUPIED</td>
|
||||
<td>The code is valid but no user with the given number is registered.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>406</td>
|
||||
<td>UPDATE_APP_TO_LOGIN</td>
|
||||
<td>Please update to the latest version of MadelineProto to login.</td>
|
||||
<td>The phone number is not yet being used.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -103,27 +103,27 @@
|
|||
<tr>
|
||||
<td>400</td>
|
||||
<td>FIRSTNAME_INVALID</td>
|
||||
<td>Invalid first name.</td>
|
||||
<td>The first name is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>LASTNAME_INVALID</td>
|
||||
<td>Invalid last name.</td>
|
||||
<td>The last name is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PHONE_CODE_EMPTY</td>
|
||||
<td><strong>phone_code</strong> from a SMS is empty.</td>
|
||||
<td>phone_code is missing.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PHONE_CODE_EXPIRED</td>
|
||||
<td>SMS expired.</td>
|
||||
<td>The phone code you provided has expired.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PHONE_CODE_INVALID</td>
|
||||
<td>Invalid SMS code was sent.</td>
|
||||
<td>The provided phone code is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
|
@ -131,9 +131,9 @@
|
|||
<td>You asked for the code too many times.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>406</td>
|
||||
<td>PHONE_NUMBER_INVALID</td>
|
||||
<td>Invalid phone number.</td>
|
||||
<td>The phone number is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
<td>The query ID is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>403</td>
|
||||
<td>USER_BOT_INVALID</td>
|
||||
<td>This method can only be called by a bot.</td>
|
||||
</tr>
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
<td>The specified method is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>403</td>
|
||||
<td>USER_BOT_INVALID</td>
|
||||
<td>This method can only be called by a bot.</td>
|
||||
</tr>
|
||||
|
|
|
@ -92,6 +92,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>PARTICIPANTS_TOO_FEW</td>
|
||||
<td>Not enough participants.</td>
|
||||
</tr>
|
||||
|
|
|
@ -146,7 +146,7 @@
|
|||
<td>No chat title provided.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>403</td>
|
||||
<td>406</td>
|
||||
<td>USER_RESTRICTED</td>
|
||||
<td>You're spamreported, you can't create channels or chats.</td>
|
||||
</tr>
|
||||
|
|
|
@ -101,7 +101,7 @@
|
|||
<td>You haven't joined this channel/supergroup.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>406</td>
|
||||
<td>CHANNEL_TOO_LARGE</td>
|
||||
<td>Channel is too large to be deleted; this error is issued when trying to delete channels with more than 1000 members (subject to change).</td>
|
||||
</tr>
|
||||
|
|
|
@ -16,7 +16,7 @@ InputPeer
|
|||
|
||||
Result
|
||||
messages.AffectedHistory
|
||||
Bots can…">
|
||||
Possible…">
|
||||
<meta property="og:title" content="channels.deleteParticipantHistory">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -31,7 +31,7 @@ InputPeer
|
|||
|
||||
Result
|
||||
messages.AffectedHistory
|
||||
Bots can…">
|
||||
Possible…">
|
||||
<link rel="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
|
||||
|
||||
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
|
||||
|
@ -102,6 +102,33 @@ Bots can…">
|
|||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/messages.AffectedHistory">messages.AffectedHistory</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>CHAT_ADMIN_REQUIRED</td>
|
||||
<td>You must be an admin in this chat to do this.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>MSG_ID_INVALID</td>
|
||||
<td>Invalid message ID provided.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PARTICIPANT_ID_INVALID</td>
|
||||
<td>The specified participant 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>
|
||||
|
|
|
@ -206,7 +206,7 @@
|
|||
<td>The provided user ID is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>403</td>
|
||||
<td>USER_NOT_MUTUAL_CONTACT</td>
|
||||
<td>The provided user is not a mutual contact.</td>
|
||||
</tr>
|
||||
|
|
|
@ -127,13 +127,13 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PASSWORD_TOO_FRESH_X</td>
|
||||
<td>The password was modified less than 24 hours ago, try again in X seconds.</td>
|
||||
<td>PASSWORD_TOO_FRESH_%d</td>
|
||||
<td>The password was modified less than 24 hours ago, try again in %d seconds.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>SESSION_TOO_FRESH_X</td>
|
||||
<td>This session was created less than 24 hours ago, try again in X seconds.</td>
|
||||
<td>SESSION_TOO_FRESH_%d</td>
|
||||
<td>This session was created less than 24 hours ago, try again in %d seconds.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
|
|
|
@ -98,12 +98,12 @@
|
|||
<tr>
|
||||
<td>400</td>
|
||||
<td>CHANNELS_ADMIN_LOCATED_TOO_MUCH</td>
|
||||
<td>Returned if both the <code>check_limit</code> and the <code>by_location</code> flags are set and the user has reached the limit of public geogroups.</td>
|
||||
<td>The user has reached the limit of public geogroups.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>CHANNELS_ADMIN_PUBLIC_TOO_MUCH</td>
|
||||
<td>Returned if the <code>check_limit</code> flag is set and the user has reached the limit of public channels/supergroups.</td>
|
||||
<td>You're admin of too many public channels, make some channels private to change the username of this channel.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -100,6 +100,11 @@
|
|||
<td>MSG_ID_INVALID</td>
|
||||
<td>Invalid message ID provided.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>USER_BANNED_IN_CHANNEL</td>
|
||||
<td>You're banned from sending messages in supergroups/channels.</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>
|
||||
|
|
|
@ -90,7 +90,7 @@
|
|||
<td>The provided channel is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>406</td>
|
||||
<td>CHANNEL_PRIVATE</td>
|
||||
<td>You haven't joined this channel/supergroup.</td>
|
||||
</tr>
|
||||
|
|
|
@ -112,6 +112,11 @@
|
|||
<td>MSG_ID_INVALID</td>
|
||||
<td>Invalid message ID provided.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>USER_BANNED_IN_CHANNEL</td>
|
||||
<td>You're banned from sending messages in supergroups/channels.</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>
|
||||
|
|
|
@ -13,7 +13,11 @@ InputPeer
|
|||
|
||||
Result
|
||||
channels.SendAsPeers
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description
|
||||
400…">
|
||||
<meta property="og:title" content="channels.getSendAs">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -25,7 +29,11 @@ InputPeer
|
|||
|
||||
Result
|
||||
channels.SendAsPeers
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description
|
||||
400…">
|
||||
<link rel="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
|
||||
|
||||
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
|
||||
|
@ -91,6 +99,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/channels.SendAsPeers">channels.SendAsPeers</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="#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>
|
||||
|
|
|
@ -176,7 +176,7 @@
|
|||
<td>This user was kicked from this supergroup/channel.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>403</td>
|
||||
<td>USER_NOT_MUTUAL_CONTACT</td>
|
||||
<td>The provided user is not a mutual contact.</td>
|
||||
</tr>
|
||||
|
|
|
@ -116,7 +116,7 @@
|
|||
<td>The invite hash is empty.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>406</td>
|
||||
<td>INVITE_HASH_EXPIRED</td>
|
||||
<td>The invite link has expired.</td>
|
||||
</tr>
|
||||
|
|
|
@ -112,6 +112,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>USER_BANNED_IN_CHANNEL</td>
|
||||
<td>You're banned from sending messages in supergroups/channels.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>USER_CREATOR</td>
|
||||
<td>You can't leave this channel, because you're its creator.</td>
|
||||
</tr>
|
||||
|
|
|
@ -92,6 +92,11 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>CHANNEL_INVALID</td>
|
||||
<td>The provided channel is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>UNKNOWN_ERROR</td>
|
||||
<td>Internal error.</td>
|
||||
</tr>
|
||||
|
|
|
@ -95,6 +95,11 @@
|
|||
<td>FOLDER_ID_EMPTY</td>
|
||||
<td>An empty folder ID was specified.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>FOLDER_ID_INVALID</td>
|
||||
<td>Invalid folder ID.</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>
|
||||
|
|
|
@ -92,6 +92,11 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>CHAT_ID_INVALID</td>
|
||||
<td>The provided chat id is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>FOLDER_ID_INVALID</td>
|
||||
<td>Invalid folder ID.</td>
|
||||
</tr>
|
||||
|
|
|
@ -86,11 +86,6 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>CONNECTION_NOT_INITED</td>
|
||||
<td>Connection not initialized.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>DATA_INVALID</td>
|
||||
<td>Encrypted data invalid.</td>
|
||||
</tr>
|
||||
|
|
|
@ -110,11 +110,6 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>CONNECTION_NOT_INITED</td>
|
||||
<td>Connection not initialized.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>INPUT_LAYER_INVALID</td>
|
||||
<td>The provided layer is invalid.</td>
|
||||
</tr>
|
||||
|
|
|
@ -87,12 +87,17 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>406</td>
|
||||
<td>CHANNEL_PRIVATE</td>
|
||||
<td>You haven't joined this channel/supergroup.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>INVITE_HASH_EMPTY</td>
|
||||
<td>The invite hash is empty.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>406</td>
|
||||
<td>INVITE_HASH_EXPIRED</td>
|
||||
<td>The invite link has expired.</td>
|
||||
</tr>
|
||||
|
|
|
@ -87,6 +87,11 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PEER_ID_INVALID</td>
|
||||
<td>The provided peer id is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>USER_NOT_MUTUAL_CONTACT</td>
|
||||
<td>The provided user is not a mutual contact.</td>
|
||||
</tr>
|
||||
|
|
|
@ -87,6 +87,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>
|
||||
|
|
|
@ -79,7 +79,24 @@
|
|||
</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></div>
|
||||
<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>INVITE_REVOKED_MISSING</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -99,6 +99,11 @@
|
|||
<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>MESSAGE_ID_INVALID</td>
|
||||
<td>The provided message 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>
|
||||
|
|
|
@ -121,6 +121,11 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>403</td>
|
||||
<td>EDIT_BOT_INVITE_FORBIDDEN</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PEER_ID_INVALID</td>
|
||||
<td>The provided peer id is invalid.</td>
|
||||
|
|
|
@ -156,7 +156,7 @@
|
|||
<td>You haven't joined this channel/supergroup.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>403</td>
|
||||
<td>CHAT_ADMIN_REQUIRED</td>
|
||||
<td>You must be an admin in this chat to do this.</td>
|
||||
</tr>
|
||||
|
|
|
@ -171,6 +171,11 @@
|
|||
<td>You must be an admin in this chat to do this.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>406</td>
|
||||
<td>CHAT_FORWARDS_RESTRICTED</td>
|
||||
<td>You can't forward messages from a protected chat.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>CHAT_ID_INVALID</td>
|
||||
<td>The provided chat id is invalid.</td>
|
||||
|
@ -241,17 +246,17 @@
|
|||
<td>Invalid message ID provided.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>420</td>
|
||||
<td>P0NY_FLOODWAIT</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PEER_ID_INVALID</td>
|
||||
<td>The provided peer id is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>QUIZ_ANSWER_MISSING</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>RANDOM_ID_INVALID</td>
|
||||
<td>A provided random ID is invalid.</td>
|
||||
</tr>
|
||||
|
@ -271,22 +276,22 @@
|
|||
<td>You can't send messages as the specified peer.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>420</td>
|
||||
<td>SLOWMODE_WAIT_%d</td>
|
||||
<td>Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>SLOWMODE_MULTI_MSGS_DISABLED</td>
|
||||
<td>Slowmode is enabled, you cannot forward multiple messages to this group.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>420</td>
|
||||
<td>SLOWMODE_WAIT_X</td>
|
||||
<td>Slowmode is enabled in this chat: you must wait for the specified number of seconds before sending another message to the chat.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>USER_BANNED_IN_CHANNEL</td>
|
||||
<td>You're banned from sending messages in supergroups/channels.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>403</td>
|
||||
<td>USER_IS_BLOCKED</td>
|
||||
<td>You were blocked by this user.</td>
|
||||
</tr>
|
||||
|
|
|
@ -94,6 +94,11 @@
|
|||
<td>CHAT_WRITE_FORBIDDEN</td>
|
||||
<td>You can't write in this chat.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PEER_ID_INVALID</td>
|
||||
<td>The provided peer id is invalid.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
|
|
|
@ -121,9 +121,29 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>CHANNEL_PRIVATE</td>
|
||||
<td>You haven't joined this channel/supergroup.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>CHAT_ADMIN_REQUIRED</td>
|
||||
<td>You must be an admin in this chat to do this.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>INVITE_HASH_EXPIRED</td>
|
||||
<td>The invite link has expired.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PEER_ID_INVALID</td>
|
||||
<td>The provided peer id is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>SEARCH_WITH_LINK_NOT_SUPPROTED</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>
|
||||
|
|
|
@ -79,7 +79,34 @@
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/messages.ExportedChatInvite">messages.ExportedChatInvite</a></p></div>
|
||||
<p><a href="/type/messages.ExportedChatInvite">messages.ExportedChatInvite</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>CHAT_ADMIN_REQUIRED</td>
|
||||
<td>You must be an admin in this chat to do this.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>INVITE_HASH_EXPIRED</td>
|
||||
<td>The invite link has expired.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PEER_ID_INVALID</td>
|
||||
<td>The provided peer id is invalid.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -124,6 +124,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>
|
||||
|
|
|
@ -100,6 +100,11 @@
|
|||
<td>MESSAGE_ID_INVALID</td>
|
||||
<td>The provided message id is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PEER_ID_INVALID</td>
|
||||
<td>The provided peer id is invalid.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
|
|
|
@ -122,6 +122,23 @@ mes…">
|
|||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/messages.SearchResultsCalendar">messages.SearchResultsCalendar</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>FILTER_NOT_SUPPORTED</td>
|
||||
<td> </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>
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>406</td>
|
||||
<td>STICKERSET_INVALID</td>
|
||||
<td>The provided sticker set is invalid.</td>
|
||||
</tr>
|
||||
|
|
|
@ -116,7 +116,7 @@
|
|||
<td>The invite hash is empty.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>406</td>
|
||||
<td>INVITE_HASH_EXPIRED</td>
|
||||
<td>The invite link has expired.</td>
|
||||
</tr>
|
||||
|
|
|
@ -106,8 +106,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>406</td>
|
||||
<td>PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_5MIN</td>
|
||||
<td>Import for this chat is already in progress, wait 5 minutes before starting a new one.</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>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -84,7 +84,24 @@
|
|||
</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></div>
|
||||
<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>PEER_ID_INVALID</td>
|
||||
<td>The provided peer id is invalid.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -97,6 +97,11 @@
|
|||
<tbody>
|
||||
<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>
|
||||
|
|
|
@ -16,7 +16,10 @@ InputPeer
|
|||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description…">
|
||||
<meta property="og:title" content="messages.saveDefaultSendAs">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -31,7 +34,10 @@ InputPeer
|
|||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description…">
|
||||
<link rel="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
|
||||
|
||||
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
|
||||
|
@ -103,6 +109,23 @@ Bots can use this method">
|
|||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/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>PEER_ID_INVALID</td>
|
||||
<td>The provided peer id is invalid.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -242,8 +242,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>420</td>
|
||||
<td>SLOWMODE_WAIT_X</td>
|
||||
<td>Slowmode is enabled in this chat: you must wait for the specified number of seconds before sending another message to the chat.</td>
|
||||
<td>SLOWMODE_WAIT_%d</td>
|
||||
<td>Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
|
|
|
@ -202,6 +202,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>CHAT_FORWARDS_RESTRICTED</td>
|
||||
<td>You can't forward messages from a protected chat.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>CHAT_RESTRICTED</td>
|
||||
<td>You can't send messages in this chat, you were restricted.</td>
|
||||
</tr>
|
||||
|
@ -407,8 +412,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>420</td>
|
||||
<td>SLOWMODE_WAIT_X</td>
|
||||
<td>Slowmode is enabled in this chat: you must wait for the specified number of seconds before sending another message to the chat.</td>
|
||||
<td>SLOWMODE_WAIT_%d</td>
|
||||
<td>Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
|
@ -421,7 +426,7 @@
|
|||
<td>You're banned from sending messages in supergroups/channels.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>403</td>
|
||||
<td>USER_IS_BLOCKED</td>
|
||||
<td>You were blocked by this user.</td>
|
||||
</tr>
|
||||
|
|
|
@ -253,7 +253,7 @@
|
|||
<tr>
|
||||
<td>400</td>
|
||||
<td>MSG_ID_INVALID</td>
|
||||
<td>Provided reply_to_msg_id is invalid.</td>
|
||||
<td>Invalid message ID provided.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
|
@ -307,8 +307,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>420</td>
|
||||
<td>SLOWMODE_WAIT_X</td>
|
||||
<td>Slowmode is enabled in this chat: you must wait for the specified number of seconds before sending another message to the chat.</td>
|
||||
<td>SLOWMODE_WAIT_%d</td>
|
||||
<td>Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
|
@ -316,7 +316,7 @@
|
|||
<td>You're banned from sending messages in supergroups/channels.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>403</td>
|
||||
<td>USER_IS_BLOCKED</td>
|
||||
<td>You were blocked by this user.</td>
|
||||
</tr>
|
||||
|
|
|
@ -146,6 +146,11 @@
|
|||
<td>You must be an admin in this chat to do this.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>403</td>
|
||||
<td>CHAT_WRITE_FORBIDDEN</td>
|
||||
<td>You can't write in this chat.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>MEDIA_CAPTION_TOO_LONG</td>
|
||||
<td>The caption is too long.</td>
|
||||
|
@ -187,8 +192,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>420</td>
|
||||
<td>SLOWMODE_WAIT_X</td>
|
||||
<td>Slowmode is enabled in this chat: wait X seconds before sending another message to this chat.</td>
|
||||
<td>SLOWMODE_WAIT_%d</td>
|
||||
<td>Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -112,14 +112,29 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>CHANNEL_PRIVATE</td>
|
||||
<td>You haven't joined this channel/supergroup.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>MESSAGE_ID_INVALID</td>
|
||||
<td>The provided message id is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PEER_ID_INVALID</td>
|
||||
<td>The provided peer id is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>REACTION_EMPTY</td>
|
||||
<td>Empty reaction provided.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>REACTION_INVALID</td>
|
||||
<td>The specified reaction 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>
|
||||
|
|
|
@ -105,6 +105,11 @@
|
|||
<td>EMOJI_NOT_MODIFIED</td>
|
||||
<td>The theme wasn't changed.</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>
|
||||
|
|
|
@ -137,6 +137,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>SCORE_INVALID</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>USER_BOT_REQUIRED</td>
|
||||
<td>This method can only be called by a bot.</td>
|
||||
</tr>
|
||||
|
|
|
@ -126,6 +126,11 @@
|
|||
<td>You can't write in this chat.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>403</td>
|
||||
<td>GROUPCALL_FORBIDDEN</td>
|
||||
<td>The group call has already ended.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>INPUT_USER_DEACTIVATED</td>
|
||||
<td>The specified user was deleted.</td>
|
||||
|
@ -146,7 +151,7 @@
|
|||
<td>You're banned from sending messages in supergroups/channels.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>403</td>
|
||||
<td>USER_IS_BLOCKED</td>
|
||||
<td>You were blocked by this user.</td>
|
||||
</tr>
|
||||
|
|
|
@ -79,6 +79,23 @@
|
|||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/phone.GroupCall">phone.GroupCall</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>GROUPCALL_INVALID</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>
|
||||
<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>
|
||||
|
|
|
@ -100,6 +100,16 @@
|
|||
<td>GROUPCALL_FORBIDDEN</td>
|
||||
<td>The group call has already ended.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>INVITE_FORBIDDEN_WITH_JOINAS</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>USER_ALREADY_INVITED</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
|
|
|
@ -116,6 +116,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>INPUT_USER_DEACTIVATED</td>
|
||||
<td>The specified user was deleted.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>PARTICIPANT_VERSION_OUTDATED</td>
|
||||
<td>The other participant does not use an up to date telegram client with support for calls.</td>
|
||||
</tr>
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
<tr>
|
||||
<td>400</td>
|
||||
<td>ALBUM_PHOTOS_TOO_MANY</td>
|
||||
<td>Too many.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
<tr>
|
||||
<td>400</td>
|
||||
<td>ALBUM_PHOTOS_TOO_MANY</td>
|
||||
<td>Too many .</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
|
|
|
@ -109,6 +109,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>MESSAGE_ID_INVALID</td>
|
||||
<td>The provided message 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>
|
||||
|
|
|
@ -97,11 +97,21 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>STICKERPACK_STICKERS_TOO_MUCH</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>STICKERSET_INVALID</td>
|
||||
<td>The provided sticker set is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>STICKERS_TOO_MUCH</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>STICKER_PNG_NOPNG</td>
|
||||
<td>One of the specified stickers is not a valid PNG file.</td>
|
||||
</tr>
|
||||
|
|
|
@ -177,6 +177,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>STICKER_GIF_DIMENSIONS</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>STICKER_PNG_DIMENSIONS</td>
|
||||
<td>Sticker png dimensions invalid.</td>
|
||||
</tr>
|
||||
|
@ -207,6 +212,16 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>STICKER_VIDEO_BIG</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>STICKER_VIDEO_NOWEBM</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>USER_ID_INVALID</td>
|
||||
<td>The provided user ID is invalid.</td>
|
||||
</tr>
|
||||
|
|
|
@ -118,6 +118,11 @@
|
|||
<td>You can't call this method in a CDN DC.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>CHANNEL_INVALID</td>
|
||||
<td>The provided channel is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>403</td>
|
||||
<td>CHAT_WRITE_FORBIDDEN</td>
|
||||
<td>You can't write in this chat.</td>
|
||||
|
|
|
@ -126,6 +126,11 @@
|
|||
<td>You haven't joined this channel/supergroup.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>FILE_REFERENCE_*</td>
|
||||
<td>The file reference expired, it <a href="https://core.telegram.org/api/file_reference">must be refreshed</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>406</td>
|
||||
<td>FILEREF_UPGRADE_NEEDED</td>
|
||||
<td>The client has to be updated in order to support <a href="https://core.telegram.org/api/file_reference">file references</a>.</td>
|
||||
|
@ -137,11 +142,6 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>FILE_REFERENCE_<code>*</code></td>
|
||||
<td>The file reference expired, it <a href="/api/file_reference">must be refreshed</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>FILE_REFERENCE_EXPIRED</td>
|
||||
<td>File reference expired, it must be refetched as described in <a href="https://core.telegram.org/api/file_reference">https://core.telegram.org/api/file_reference</a>.</td>
|
||||
</tr>
|
||||
|
@ -174,9 +174,7 @@
|
|||
</table>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#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>
|
||||
<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>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -100,11 +100,6 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>CONNECTION_NOT_INITED</td>
|
||||
<td>Connection not initialized.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>INPUT_LAYER_INVALID</td>
|
||||
<td>The provided layer is invalid.</td>
|
||||
</tr>
|
||||
|
@ -113,6 +108,11 @@
|
|||
<td>MSG_ID_INVALID</td>
|
||||
<td>Invalid message ID provided.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>USER_BANNED_IN_CHANNEL</td>
|
||||
<td>You're banned from sending messages in supergroups/channels.</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>
|
||||
|
|
Loading…
Reference in a new issue