Update content of files

This commit is contained in:
GitHub Action 2024-08-04 15:49:42 +00:00
parent 99cf6861a0
commit 338e1c0841
3 changed files with 6 additions and 1 deletions

View file

@ -79,6 +79,10 @@
<ul>
<li><a href="/api/stories#weather">Weather media areas »</a></li>
<li><a href="/api/stars#buying-or-gifting-stars">Telegram Star gifts »</a></li>
<li><a href="/api/search#apps-tab">Mini App Store »</a></li>
<li><a href="/api/bots/webapps#main-mini-apps">Main Mini Apps »</a></li>
<li><a href="/api/bots/webapps#main-mini-app-previews">Main Mini App previews »</a></li>
<li>Allow specifying the exact frame to use for video thumbnails/static previews through the new <a href="/constructor/documentAttributeVideo">documentAttributeVideo</a>.<code>video_start_ts</code> parameter (especially useful for stories). </li>
</ul>
<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>

View file

@ -188,6 +188,7 @@ For example, when displaying the chat photo gallery, we could display a <code>ph
<a href='/method/bots.getPopularAppBots'>bots.getPopularAppBots</a>#c2510192 offset:<a href='/type/string'>string</a> limit:<a href='/type/int'>int</a> = <a href='/type/bots.PopularAppBots'>bots.PopularAppBots</a>;
<a href='/method/messages.searchGlobal'>messages.searchGlobal</a>#4bc6589a flags:<a href='/type/%23'>#</a> broadcasts_only:flags.1?<a href='/constructor/true'>true</a> folder_id:flags.0?<a href='/type/int'>int</a> q:<a href='/type/string'>string</a> filter:<a href='/type/MessagesFilter'>MessagesFilter</a> min_date:<a href='/type/int'>int</a> max_date:<a href='/type/int'>int</a> offset_rate:<a href='/type/int'>int</a> offset_peer:<a href='/type/InputPeer'>InputPeer</a> offset_id:<a href='/type/int'>int</a> limit:<a href='/type/int'>int</a> = <a href='/type/messages.Messages'>messages.Messages</a>;</code></pre>
<p>Used to implement the <a href="https://telegram.org/blog/w3-browser-mini-app-store#mini-app-store">Mini App Store</a>. </p>
<p>Only contains bots with an associated <a href="/api/bots/webapps#main-mini-apps">Main Mini App</a> (i.e. those with the <a href="/constructor/user">user</a>.<code>bot_has_main_app</code> flag set), split in the following sections:</p>
<ul>
<li><code>Apps you use</code>: Contains avatars, names and MAU counters (from <a href="/constructor/user">user</a>.<code>bot_active_users</code>) for <a href="/api/bots/webapps#main-mini-apps">Main Mini Apps</a> of bots most frequently used by the user, sorted <a href="/api/top-rating">as specified here »</a> (<a href="/constructor/topPeerCategoryBotsApp">topPeerCategoryBotsApp</a> category). </li>

View file

@ -109,7 +109,7 @@
<tr>
<td><strong>video_start_ts</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.4?<a href="/type/double">double</a></td>
<td> </td>
<td>Floating point UNIX timestamp in seconds, indicating the frame of the video that should be used as static preview and thumbnail.</td>
</tr>
</tbody>
</table>