Update content of files

This commit is contained in:
GitHub Action 2022-03-09 18:42:44 +00:00
parent 85a5b42d42
commit 8fbf58aa68
3 changed files with 34 additions and 232 deletions

View file

@ -98,7 +98,7 @@ You can use <a href="/method/channels.updateUsername">channels.checkUsername</a>
<p>Private invite links can optionally have an expiration date, a usage limit, and can even be set to only allow users into the channel, supergroup or group upon explicit approval of an admin: see <a href="#join-requests">join requests »</a> for more info.</p>
<p>Invite links match the following regex: <code>@(?:t|telegram)\.(?:me|dog)/(joinchat/|\+)?([\w-]+)@i</code>.<br>
The first matching group can be passed to the <code>hash</code> parameter of <a href="/method/messages.checkChatInvite">messages.checkChatInvite</a> to get info about the chat, and <a href="/method/messages.importChatInvite">messages.importChatInvite</a> to join the chat.<br>
<a href="/method/messages.checkChatInvite">messages.checkChatInvite</a> may return <a href="/constructor/chatInvitePeek">chatInvitePeek</a>, in which case the user may directly fetch chat messages using <a href="/api/updates">updates</a> and <a href="/method/messages.getHistory">messages.getHistory</a> until the time indicated by the <code>expires</code> unixtime field.</p>
<a href="/method/messages.checkChatInvite">messages.checkChatInvite</a> may return <a href="/constructor/chatInvitePeek">chatInvitePeek</a>, in which case the user may directly fetch chat messages using <a href="/api/updates">updates</a>, <a href="/method/messages.getHistory">messages.getHistory</a> and <a href="/method/channels.getMessages">channels.getMessages</a> until the time indicated by the <code>expires</code> unixtime field.</p>
<p>Newly created groups, supergroups and channel already have a default invite link.<br>
To generate a new one, use <a href="/method/messages.exportChatInvite">messages.exportChatInvite</a>.<br>
To get info about existing chat invites, optionally filtering only links created by a given admin, use <a href="/method/messages.getExportedChatInvites">messages.getExportedChatInvites</a>.<br>

View file

@ -1433,59 +1433,6 @@ Notice that all <code>PINNED_*</code> <a href="https://core.telegram.org/api/pus
<li>Added <a href="/api/push-updates#possible-notifications">MESSAGE_QUIZ</a> - <code>{1} sent you a quiz {2}</code></li>
<li>Added <a href="/api/push-updates#possible-notifications">PINNED_QUIZ</a> - <code>{1} pinned a quiz {2}</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>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHANNEL_MESSAGE_AUDIO</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHANNEL_MESSAGE_CONTACT</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHANNEL_MESSAGE_DOC</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHANNEL_MESSAGE_GAME</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHANNEL_MESSAGE_GAME_SCORE</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHANNEL_MESSAGE_GEO</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHANNEL_MESSAGE_GEOLIVE</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHANNEL_MESSAGE_GIF</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHANNEL_MESSAGE_NOTEXT</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHANNEL_MESSAGE_PHOTO</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHANNEL_MESSAGE_POLL</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHANNEL_MESSAGE_ROUND</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHANNEL_MESSAGE_STICKER</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHANNEL_MESSAGE_TEXT</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHANNEL_MESSAGE_VIDEO</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_AUDIO</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_CONTACT</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_DOC</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_GAME</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_GAME_SCORE</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_GEO</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_GEOLIVE</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_GIF</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_INVOICE</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_NOTEXT</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_PHOTO</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_POLL</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_ROUND</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_STICKER</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_TEXT</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">CHAT_MESSAGE_VIDEO</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">MESSAGE_AUDIO</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">MESSAGE_CONTACT</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">MESSAGE_DOC</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">MESSAGE_GAME</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">MESSAGE_GAME_SCORE</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">MESSAGE_GEO</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">MESSAGE_GEOLIVE</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">MESSAGE_GIF</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">MESSAGE_INVOICE</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">MESSAGE_NOTEXT</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">MESSAGE_PHOTO</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">MESSAGE_PHOTO_SECRET</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">MESSAGE_POLL</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">MESSAGE_ROUND</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">MESSAGE_SCREENSHOT</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">MESSAGE_STICKER</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">MESSAGE_TEXT</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">MESSAGE_VIDEO</a></li>
<li>Added <strong>scheduled</strong> additional parameter in <a href="/api/push-updates#possible-notifications">MESSAGE_VIDEO_SECRET</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/messageFwdHeader">messageFwdHeader</a>#353a686b flags:<a href="/type/%23">#</a> from_id:flags.0?<a href="/type/int">int</a> from_name:flags.5?<a href="/type/string">string</a> date:<a href="/type/int">int</a> channel_id:flags.1?<a href="/type/int">int</a> channel_post:flags.2?<a href="/type/int">int</a> post_author:flags.3?<a href="/type/string">string</a> saved_from_peer:flags.4?<a href="/type/Peer">Peer</a> saved_from_msg_id:flags.4?<a href="/type/int">int</a> psa_type:flags.6?<a href="/type/string">string</a> = <a href="/type/MessageFwdHeader">MessageFwdHeader</a>;<br>
<a href="/constructor/help.promoDataEmpty">help.promoDataEmpty</a>#98f6ac75 expires:<a href="/type/int">int</a> = <a href="/type/help.PromoData">help.PromoData</a>;

File diff suppressed because it is too large Load diff