Update content of files

This commit is contained in:
GitHub Action 2022-03-01 20:29:15 +00:00
parent 4b9e4b1972
commit 9d6bedd943
2 changed files with 235 additions and 0 deletions

View file

@ -65,6 +65,43 @@ 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} is calling you!</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>
<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>&lt;<a href="/type/ReactionCount">ReactionCount</a>&gt; recent_reactions:flags.1?<a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/MessagePeerReaction">MessagePeerReaction</a>&gt; = <a href="/type/MessageReactions">MessageReactions</a>;

View file

@ -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. User name<br>2. Group name<br>3. Reaction</td>
<td> </td>
</tr>
<tr>
<td>CHAT_REACT_CONTACT</td>
<td>{1}: {3} to your contact {4} in {2}</td>
<td>1. User name<br>2. Group name<br>3. Reaction<br>4. Contact name</td>
<td> </td>
</tr>
<tr>
<td>CHAT_REACT_DOC</td>
<td>{1}: {3} to your file in {2}</td>
<td>1. User name<br>2. Group name<br>3. Reaction</td>
<td> </td>
</tr>
<tr>
<td>CHAT_REACT_GAME</td>
<td>{1}: {3} to your game in {2}</td>
<td>1. User name<br>2. Group name<br>3. Reaction</td>
<td> </td>
</tr>
<tr>
<td>CHAT_REACT_GEO</td>
<td>{1}: {3} to your map in {2}</td>
<td>1. User name<br>2. Group name<br>3. Reaction</td>
<td> </td>
</tr>
<tr>
<td>CHAT_REACT_GEOLIVE</td>
<td>{1}: {3} to your live location in {2}</td>
<td>1. User name<br>2. Group name<br>3. Reaction</td>
<td> </td>
</tr>
<tr>
<td>CHAT_REACT_GIF</td>
<td>{1} is calling you!</td>
<td>1.</td>
<td> </td>
</tr>
<tr>
<td>CHAT_REACT_INVOICE</td>
<td>{1}: {3} to your invoice in {2}</td>
<td>1. User name<br>2. Group name<br>3. Reaction</td>
<td> </td>
</tr>
<tr>
<td>CHAT_REACT_NOTEXT</td>
<td>{1}: {3} to your message in {2}</td>
<td>1. User name<br>2. Group name<br>3. Reaction</td>
<td> </td>
</tr>
<tr>
<td>CHAT_REACT_PHOTO</td>
<td>{1}: {3} to your photo in {2}</td>
<td>1. User name<br>2. Group name<br>3. Reaction</td>
<td> </td>
</tr>
<tr>
<td>CHAT_REACT_POLL</td>
<td>{1}: {3} to your poll {4} in {2}</td>
<td>1. User name<br>2. Group name<br>3. Reaction<br>4. Poll name</td>
<td> </td>
</tr>
<tr>
<td>CHAT_REACT_QUIZ</td>
<td>{1}: {3} to your quiz {4} in {2}</td>
<td>1. User name<br>2. Group name<br>3. Reaction<br>4. Quiz name</td>
<td> </td>
</tr>
<tr>
<td>CHAT_REACT_ROUND</td>
<td>{1}: {3} to your video message in {2}</td>
<td>1. User name<br>2. Group name<br>3. Reaction</td>
<td> </td>
</tr>
<tr>
<td>CHAT_REACT_STICKER</td>
<td>{1}: {3} to your {4} sticker in {2}</td>
<td>1. User name<br>2. Group name<br>3. Reaction<br>4. Sticker emoji</td>
<td> </td>
</tr>
<tr>
<td>CHAT_REACT_TEXT</td>
<td>{1}: {3} in {2} to your "{4}"</td>
<td>1. User name<br>2. Group name<br>3. Reaction<br>4. Message body</td>
<td> </td>
</tr>
<tr>
<td>CHAT_REACT_VIDEO</td>
<td>{1}: {3} to your video in {2}</td>
<td>1. User name<br>2. Group name<br>3. Reaction</td>
<td> </td>
</tr>
<tr>
<td>CHAT_REQ_JOINED</td>
<td>{2}</td>
<td>{1} was accepted into the group</td>
<td>1. User name<br>2. Chat name</td>
</tr>
<tr>
<td>CHAT_RETURNED</td>
<td>{1} returned to the group {2}</td>
<td>1. Message author<br>2. Chat name</td>
@ -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. User name<br>2. Reaction</td>
<td> </td>
</tr>
<tr>
<td>REACT_CONTACT</td>
<td>{1}: {2} to your contact {3}</td>
<td>1. User name<br>2. Reaction<br>3. Contact name</td>
<td> </td>
</tr>
<tr>
<td>REACT_DOC</td>
<td>{1}: {2} to your file</td>
<td>1. User name<br>2. Reaction</td>
<td> </td>
</tr>
<tr>
<td>REACT_GAME</td>
<td>{1}: {2} to your game</td>
<td>1. User name<br>2. Reaction</td>
<td> </td>
</tr>
<tr>
<td>REACT_GEO</td>
<td>{1}: {2} to your map</td>
<td>1. User name<br>2. Reaction</td>
<td> </td>
</tr>
<tr>
<td>REACT_GEOLIVE</td>
<td>{1}: {2} to your live location</td>
<td>1. User name<br>2. Reaction</td>
<td> </td>
</tr>
<tr>
<td>REACT_GIF</td>
<td>{1}: {2} to your GIF</td>
<td>1. User name<br>2. Reaction</td>
<td> </td>
</tr>
<tr>
<td>REACT_INVOICE</td>
<td>{1}: {2} to your invoice</td>
<td>1. User name<br>2. Reaction</td>
<td> </td>
</tr>
<tr>
<td>REACT_NOTEXT</td>
<td>{1}: {2} to your message</td>
<td>1. User name<br>2. Reaction</td>
<td> </td>
</tr>
<tr>
<td>REACT_PHOTO</td>
<td>{1}: {2} to your photo</td>
<td>1. User name<br>2. Reaction</td>
<td> </td>
</tr>
<tr>
<td>REACT_POLL</td>
<td>{1}: {2} to your poll {3}</td>
<td>1. User name<br>2. Reaction<br>3. Poll name</td>
<td> </td>
</tr>
<tr>
<td>REACT_QUIZ</td>
<td>{1}: {2} to your quiz {3}</td>
<td>1. User name<br>2. Reaction<br>3. Quiz name</td>
<td> </td>
</tr>
<tr>
<td>REACT_ROUND</td>
<td>{1}: {2} to your video message</td>
<td>1. User name<br>2. Reaction</td>
<td> </td>
</tr>
<tr>
<td>REACT_STICKER</td>
<td>{1}: {2} to your {3} sticker</td>
<td>1. User name<br>2. Reaction<br>3. Sticker emoji</td>
<td> </td>
</tr>
<tr>
<td>REACT_TEXT</td>
<td>{1}: {2} to your "{3}"</td>
<td>1. User name<br>2. Reaction<br>3. Message body</td>
<td> </td>
</tr>
<tr>
<td>REACT_VIDEO</td>
<td>{1}: {2} to your video</td>
<td>1. User name<br>2. Reaction</td>
<td> </td>
</tr>
</tbody>
</table></div>