mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-01-01 01:00:50 +01:00
Update content of files
This commit is contained in:
parent
a61c3c87da
commit
b9750c8ea7
3 changed files with 4 additions and 4 deletions
|
@ -980,8 +980,8 @@ These links are used to confirm ownership of the phone number, to prevent accoun
|
|||
<p>Used to install and optionally open a <a href="/api/bots/attach">bot attachment menu »</a> in a certain chat.<br>
|
||||
For all link types, clients should:</p>
|
||||
<ul>
|
||||
<li>Check that the associated bot username has an associated <a href="/api/bots/attach">attachment menu</a>.</li>
|
||||
<li>If not installed, ask the user to <a href="/api/bots/attach">install the attachment menu</a>.</li>
|
||||
<li>Check that the associated bot username has an associated <a href="/api/bots/attach">attachment menu</a> as specified <a href="/api/bots/attach">here »</a>.</li>
|
||||
<li>If not installed, ask the user to <a href="/api/bots/attach">install the attachment menu »</a>.</li>
|
||||
<li>Check that the attachment menu can be opened in the chosen chat type by checking the <a href="/constructor/attachMenuBot">attachMenuBot</a>.<code>peer_types</code> field.<ul>
|
||||
<li>If the chosen chat is supported, open the attachment menu <a href="/api/bots/webapps#normal-web-apps">web app »</a></li>
|
||||
<li>Otherwise:<ul>
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
<tr>
|
||||
<td><strong>theme_params</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/DataJSON">DataJSON</a></td>
|
||||
<td>Theme parameters</td>
|
||||
<td>A JSON object with the following keys, containing color theme information (hex, RGB24) to pass to the web app: <br><code>bg_color</code> - Background color <br><code>secondary_bg_color</code> - Secondary background color (layer 143+) <br><code>text_color</code> - Text color <br><code>hint_color</code> - Hint text color <br><code>link_color</code> - Link color <br><code>button_color</code> - Button color <br><code>button_text_color</code> - Button text color</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>platform</strong></td>
|
||||
|
|
|
@ -107,7 +107,7 @@
|
|||
<tr>
|
||||
<td><strong>theme_params</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/type/DataJSON">DataJSON</a></td>
|
||||
<td>Theme parameters for the web app</td>
|
||||
<td>A JSON object with the following keys, containing color theme information (hex, RGB24) to pass to the web app: <br><code>bg_color</code> - Background color <br><code>secondary_bg_color</code> - Secondary background color (layer 143+) <br><code>text_color</code> - Text color <br><code>hint_color</code> - Hint text color <br><code>link_color</code> - Link color <br><code>button_color</code> - Button color <br><code>button_text_color</code> - Button text color</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>platform</strong></td>
|
||||
|
|
Loading…
Reference in a new issue