Update content of files

This commit is contained in:
GitHub Action 2022-08-24 19:58:34 +00:00
parent 94ec5edca3
commit 7a699ac799
2 changed files with 44 additions and 1 deletions

View file

@ -85,6 +85,48 @@ The GamingCommunication and bot web app libraries by default will use <code>'*'<
<td>JSON object with <code>title</code> (optional string), <code>message</code> (string),</td>
</tr>
<tr>
<td><code>web_app_setup_closing_behavior</code></td>
</tr>
<tr>
<td><code>web_app_set_background_color</code></td>
</tr>
<tr>
<td><code>web_app_set_header_color</code></td>
</tr>
<tr>
<td><code>web_app_data_send</code></td>
</tr>
<tr>
<td><code>web_app_trigger_haptic_feedback</code></td>
</tr>
<tr>
<td><code>web_app_open_link</code></td>
</tr>
<tr>
<td><code>web_app_open_tg_link</code></td>
</tr>
<tr>
<td><code>web_app_setup_back_button</code></td>
</tr>
<tr>
<td><code>web_app_open_invoice</code></td>
</tr>
<tr>
<td><code>web_app_expand</code></td>
</tr>
<tr>
<td><code>web_app_request_viewport</code></td>
</tr>
<tr>
<td><code>web_app_request_theme</code></td>
</tr>
<tr>
<td><code>web_app_ready</code></td>
</tr>
<tr>
<td><code>web_app_setup_main_button</code></td>
</tr>
<tr>
<td><code>payment_form_submit</code></td>
<td>JSON object with <code>credentials</code> and <code>title</code> fields</td>
<td><code>title</code> is the censored credit card title.<br><code>credentials</code> is a service-specific JSON object with information about the payment credentials provided by the user to the payment system.<br><strong>Neither Telegram, nor bots will have access to your credit card information.</strong><br>Credit card details will be handled only by the payment system.</td>

View file

@ -42,7 +42,8 @@
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/upload.getWebFile" >upload.getWebfile</a></li></ul></div>
<h1 id="dev_page_title">upload.getWebfile</h1>
<div id="dev_page_content"><p>Returns content of an HTTP file or a part, by proxying the request through telegram.</p>
<div id="dev_page_content"><p>Returns content of a web file, by proxying the request through telegram, see the <a href="/api/files#downloading-webfiles">webfile docs for more info</a>. </p>
<p><strong>Note</strong>: the query must be sent to the DC specified in the <code>webfile_dc_id</code> <a href="/api/config#mtproto-configuration">MTProto configuration field</a>. </p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">