mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-11-24 08:16:34 +01:00
Update content of files
This commit is contained in:
parent
4510cba00b
commit
d5a8cc5c40
4 changed files with 10 additions and 4 deletions
|
@ -156,6 +156,9 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/method/payments.getStarsTransactionsByID">Fetch info about specific Telegram Star transactions »</a></li>
|
<li><a href="/method/payments.getStarsTransactionsByID">Fetch info about specific Telegram Star transactions »</a></li>
|
||||||
<li><a href="/api/stars#paying-for-ads">Pay for advertisements using Telegram Stars »</a></li>
|
<li><a href="/api/stars#paying-for-ads">Pay for advertisements using Telegram Stars »</a></li>
|
||||||
|
<li><a href="/api/bots/webapps">Mini Apps</a> may now be opened directly in compact mode by passing the <code>compact</code> flag to <a href="/method/messages.requestWebView">messages.requestWebView</a>, <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a>, <a href="/method/messages.requestAppWebView">messages.requestAppWebView</a>.<br>
|
||||||
|
This <code>compact</code> flag should always be set if the new <code>mode</code> parameter of <a href="/api/links#mini-app-links">mini app links</a>, <a href="/api/links#mini-app-links">mini app links</a> and <a href="/api/links#direct-mini-app-links">direct mini app links</a> is equal to <code>compact</code>.<br>
|
||||||
|
If the returned <a href="/constructor/webViewResultUrl">webViewResultUrl</a> does <em>not</em> have the <code>fullsize</code> flag set, the app should be opened in compact mode (even if compact mode wasn't explictly requested, since the default fullsize/compact mode can also be changed through <a href="https://t.me/botfather">@botfather</a>). </li>
|
||||||
<li>Device integrity verification improvements for official apps.</li>
|
<li>Device integrity verification improvements for official apps.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h4><a class="anchor" href="#schema-changes" id="schema-changes" name="schema-changes"><i class="anchor-icon"></i></a>Schema changes</h4>
|
<h4><a class="anchor" href="#schema-changes" id="schema-changes" name="schema-changes"><i class="anchor-icon"></i></a>Schema changes</h4>
|
||||||
|
|
|
@ -1254,7 +1254,7 @@ tg://resolve?domain=<bot_username>&startapp=<start_parameter>&am
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>mode</code></td>
|
<td><code>mode</code></td>
|
||||||
<td style="text-align: center;">Optional</td>
|
<td style="text-align: center;">Optional</td>
|
||||||
<td>If equal to <code>compact</code>, the app should be opened in compact mode.</td>
|
<td>If equal to <code>compact</code>, the <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a>.<code>compact</code> flag must be set.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@ -1295,7 +1295,7 @@ tg://resolve?domain=<bot_username>&startapp=<start_parameter>&am
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>mode</code></td>
|
<td><code>mode</code></td>
|
||||||
<td style="text-align: center;">Optional</td>
|
<td style="text-align: center;">Optional</td>
|
||||||
<td>If equal to <code>compact</code>, the app should be opened in compact mode.</td>
|
<td>If equal to <code>compact</code>, the <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a>.<code>compact</code> flag must be set.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -367,10 +367,13 @@ Further recurring payments will automatically send <a href="/constructor/message
|
||||||
|
|
||||||
<a href='/constructor/messageActionPaymentSentMe'>messageActionPaymentSentMe</a>#8f31b327 flags:<a href='/type/%23'>#</a> recurring_init:flags.2?<a href='/constructor/true'>true</a> recurring_used:flags.3?<a href='/constructor/true'>true</a> currency:<a href='/type/string'>string</a> total_amount:<a href='/type/long'>long</a> payload:<a href='/type/bytes'>bytes</a> info:flags.0?<a href='/type/PaymentRequestedInfo'>PaymentRequestedInfo</a> shipping_option_id:flags.1?<a href='/type/string'>string</a> charge:<a href='/type/PaymentCharge'>PaymentCharge</a> = <a href='/type/MessageAction'>MessageAction</a>;
|
<a href='/constructor/messageActionPaymentSentMe'>messageActionPaymentSentMe</a>#8f31b327 flags:<a href='/type/%23'>#</a> recurring_init:flags.2?<a href='/constructor/true'>true</a> recurring_used:flags.3?<a href='/constructor/true'>true</a> currency:<a href='/type/string'>string</a> total_amount:<a href='/type/long'>long</a> payload:<a href='/type/bytes'>bytes</a> info:flags.0?<a href='/type/PaymentRequestedInfo'>PaymentRequestedInfo</a> shipping_option_id:flags.1?<a href='/type/string'>string</a> charge:<a href='/type/PaymentCharge'>PaymentCharge</a> = <a href='/type/MessageAction'>MessageAction</a>;
|
||||||
|
|
||||||
|
<a href='/constructor/messageActionPaymentRefunded'>messageActionPaymentRefunded</a>#41b3e202 flags:<a href='/type/%23'>#</a> peer:<a href='/type/Peer'>Peer</a> currency:<a href='/type/string'>string</a> total_amount:<a href='/type/long'>long</a> payload:flags.0?<a href='/type/bytes'>bytes</a> charge:<a href='/type/PaymentCharge'>PaymentCharge</a> = <a href='/type/MessageAction'>MessageAction</a>;
|
||||||
|
|
||||||
---functions---
|
---functions---
|
||||||
|
|
||||||
<a href='/method/payments.refundStarsCharge'>payments.refundStarsCharge</a>#25ae8f4a user_id:<a href='/type/InputUser'>InputUser</a> charge_id:<a href='/type/string'>string</a> = <a href='/type/Updates'>Updates</a>;</code></pre>
|
<a href='/method/payments.refundStarsCharge'>payments.refundStarsCharge</a>#25ae8f4a user_id:<a href='/type/InputUser'>InputUser</a> charge_id:<a href='/type/string'>string</a> = <a href='/type/Updates'>Updates</a>;</code></pre>
|
||||||
<p>Payments made using <a href="/api/stars">Telegram Stars »</a> may be refunded <em>by the user/bot that received them</em> by invoking <a href="/method/payments.refundStarsCharge">payments.refundStarsCharge</a>, passing to <code>user_id</code> the ID of the user that did the payment, and to <code>charge_id</code> the <code>provider_charge_id</code> from the <a href="/constructor/messageActionPaymentSentMe">messageActionPaymentSentMe</a> service message action of the incoming payment.</p></div>
|
<p>Payments made using <a href="/api/stars">Telegram Stars »</a> may be refunded <em>by the user/bot that received them</em> by invoking <a href="/method/payments.refundStarsCharge">payments.refundStarsCharge</a>, passing to <code>user_id</code> the ID of the user that did the payment, and to <code>charge_id</code> the <code>provider_charge_id</code> from the <a href="/constructor/messageActionPaymentSentMe">messageActionPaymentSentMe</a> service message action of the incoming payment. </p>
|
||||||
|
<p>This will emit a <a href="/constructor/messageActionPaymentRefunded">messageActionPaymentRefunded</a> service message.</p></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>compact</strong></td>
|
<td><strong>compact</strong></td>
|
||||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.7?<a href="/constructor/true">true</a></td>
|
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.7?<a href="/constructor/true">true</a></td>
|
||||||
<td> </td>
|
<td>If set, requests to open the mini app in compact mode (as opposed to fullview mode). Must be set if the <code>mode</code> parameter of the <a href="/api/links#direct-mini-app-links">direct Mini App deep link</a> is equal to <code>compact</code>.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>peer</strong></td>
|
<td><strong>peer</strong></td>
|
||||||
|
|
Loading…
Reference in a new issue