Update content of files

This commit is contained in:
GitHub Action 2023-04-15 14:36:09 +00:00
parent 439019a81c
commit 5802567c7a

View file

@ -58,10 +58,10 @@
<p>Added support for <a href="/api/bots/webapps#named-bot-web-apps">named bot web apps</a>, which can be opened from a <a href="/api/links#named-bot-web-app-links">named bot web app deep link</a>.<br>
<a href="/api/bots/webapps#simple-web-apps">Web apps</a> can now be opened by clicking on a <code>switch_webview</code> inline result, similar to <code>switch_pm</code> inline results.<br>
Bots can now edit their own about text and description.<br>
Also, the <a href="/api/auth#future-auth-tokens">future auth token</a> is now directly returned in the <a href="/constructor/config">config</a> constructor, which was also cleaned up to remove redundant information already contained in the <a href="/api/config#client-configuration">appConfig configuration</a>.<br>
The current <a href="/api/auth#future-auth-tokens">future auth token</a> is now directly returned in the <a href="/constructor/config">config</a> constructor, which was also cleaned up to remove redundant information already contained in the <a href="/api/config#client-configuration">appConfig configuration</a>.<br>
<a href="/method/messages.getMessageReadParticipants">messages.getMessageReadParticipants</a> now returns a timestamp for each user, indicating when that user has read the specified message.</p>
<p>Additionally, when using <a href="/method/messages.addChatUser">messages.addChatUser</a>, <a href="/method/channels.inviteToChannel">channels.inviteToChannel</a> or <a href="/method/messages.createChat">messages.createChat</a>, 0-N updates of type <a href="/constructor/updateGroupInvitePrivacyForbidden">updateGroupInvitePrivacyForbidden</a> may be returned, indicating that the server couldn't add a user to a chat because of their privacy settings; if required, an <a href="/api/invites">invite link</a> can be shared with the user, instead.</p>
<p>Finally, sponsored messages can now contain detailed info about the sponsor of the message or the message itself.</p>
<p>When using <a href="/method/messages.addChatUser">messages.addChatUser</a>, <a href="/method/channels.inviteToChannel">channels.inviteToChannel</a> or <a href="/method/messages.createChat">messages.createChat</a>, 0-N updates of type <a href="/constructor/updateGroupInvitePrivacyForbidden">updateGroupInvitePrivacyForbidden</a> may be returned, indicating that the server couldn't add a user to a chat because of their privacy settings; if required, an <a href="/api/invites">invite link</a> can be shared with the user, instead.</p>
<p>Sponsored messages can now contain detailed info about the sponsor of the message or the message itself.</p>
<h4><a class="anchor" href="#schema-changes" id="schema-changes" name="schema-changes"><i class="anchor-icon"></i></a>Schema changes</h4>
<h5><a class="anchor" href="#new-methods" id="new-methods" name="new-methods"><i class="anchor-icon"></i></a>New Methods</h5>
<ul>
@ -265,7 +265,8 @@ Currently, only official apps can make use of Safetynet/Firebase SMS authenticat
<a href="/method/account.saveAutoSaveSettings">account.saveAutoSaveSettings</a>#d69b8361 flags:<a href="/type/%23">#</a> users:flags.0?<a href="/constructor/true">true</a> chats:flags.1?<a href="/constructor/true">true</a> broadcasts:flags.2?<a href="/constructor/true">true</a> peer:flags.3?<a href="/type/InputPeer">InputPeer</a> settings:<a href="/type/AutoSaveSettings">AutoSaveSettings</a> = <a href="/type/Bool">Bool</a>;
<a href="/method/account.deleteAutoSaveExceptions">account.deleteAutoSaveExceptions</a>#53bc0020 = <a href="/type/Bool">Bool</a>;<br></code></pre></div>
<h3><a class="anchor" href="#layer-151" id="layer-151" name="layer-151"><i class="anchor-icon"></i></a><a href="/schema?layer=151">Layer 151</a></h3>
<p>Spoiler media, custom contact profile pictures, hidden supergroup participants.</p>
<p>Introducing spoiler media, custom contact profile pictures, hidden supergroup participants and persistent bot keyboards.<br>
<a href="/api/bots/attach">Attachment menu bot web apps</a> may now ask permission to write direct messages to the users that install them. </p>
<h4><a class="anchor" href="#schema-changes" id="schema-changes" name="schema-changes"><i class="anchor-icon"></i></a>Schema changes</h4>
<h5><a class="anchor" href="#new-methods" id="new-methods" name="new-methods"><i class="anchor-icon"></i></a>New Methods</h5>
<ul>