mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-01-05 18:38:19 +01:00
Update content of files
This commit is contained in:
parent
c45241ba82
commit
ba058acbef
2 changed files with 83 additions and 2 deletions
|
@ -796,7 +796,7 @@ tg://bg?slug=<slug>&intensity=<intensity>&bg_color=<hex_c
|
|||
<tr>
|
||||
<td><code>parameter</code></td>
|
||||
<td style="text-align: center;">Optional</td>
|
||||
<td>Start parameter, up to 64 <a href="https://en.wikipedia.org/wiki/Base64#The_URL_applications">base64url</a> characters: if provided and the <code>bot_username</code> is indeed a bot, the text input bar should be replaced with a <code>Start</code> button (even if the user has already started the bot) that should invoke <a href="/method/messages.startBot">messages.startBot</a> with the appropriate <code>parameter</code> once clicked.</td>
|
||||
<td>Start parameter, up to 64 <a href="https://en.wikipedia.org/wiki/Base64#The_URL_applications">base64url</a> characters: if provided and the <code>bot_username</code> is indeed a bot, the text input bar should be replaced with a <code>Start</code> button (even if the user has already started the bot) that should invoke <a href="/method/messages.startBot">messages.startBot</a> with the appropriate <code>parameter</code> once clicked. Note that if the <code>bot_username</code> is equal to the <a href="/api/config#premium-bot-username"><code>premium_bot_username</code> configuration value »</a>, clicking on this link should immediately invoke <a href="/method/messages.startBot">messages.startBot</a> with the appropriate <code>parameter</code>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -1067,6 +1067,23 @@ These links are used to confirm ownership of the phone number, to prevent accoun
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<!--
|
||||
// TODO
|
||||
### Premium giftcode links
|
||||
USed to process [Telegram Premium giftcode links](/api/premium#giftcodes).
|
||||
`tg:` syntax:
|
||||
```
|
||||
tg://giftcode?slug=<code>
|
||||
```
|
||||
`t.me` syntax:
|
||||
```
|
||||
t.me/giftcode/<code>
|
||||
```
|
||||
Parameters:
|
||||
| Name | Optional | Description |
|
||||
| --- | :---: | --- |
|
||||
| `code` | Optional | Gift code |
|
||||
--->
|
||||
<h3><a class="anchor" href="#qr-code-login-links" id="qr-code-login-links" name="qr-code-login-links"><i class="anchor-icon"></i></a>QR code login links</h3>
|
||||
<p>Used by the <a href="/api/qr-login">QR code login flow »</a>.</p>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
|
|
|
@ -2463,7 +2463,7 @@ a.tm-table-action-link:hover {
|
|||
line-height: 42px;
|
||||
font-weight: bold;
|
||||
padding: 12px 20px;
|
||||
background-color: var(--table-header-bg-color);
|
||||
background-color: var(--field-bg-color);
|
||||
border-radius: var(--def-border-radius);
|
||||
color: var(--field-color);
|
||||
text-align: center;
|
||||
|
@ -2548,6 +2548,70 @@ a.tm-table-action-link:hover {
|
|||
filter: blur(7px);
|
||||
}
|
||||
|
||||
.tm-field-hint {
|
||||
margin: 8px 14px;
|
||||
}
|
||||
|
||||
.tm-number-form-group {
|
||||
margin: 36px 0 0;
|
||||
}
|
||||
.tm-checkbox-toggle {
|
||||
position: relative;
|
||||
font-weight: normal;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
padding: 11px 14px;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.tm-checkbox-toggle .checkbox {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
margin: auto 24px;
|
||||
}
|
||||
.tm-checkbox-toggle .checkbox ~ .tm-checkbox-label:before,
|
||||
.tm-checkbox-toggle .checkbox ~ .tm-checkbox-label:after {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
content: '';
|
||||
}
|
||||
.tm-checkbox-toggle .checkbox ~ .tm-checkbox-label:before {
|
||||
margin: 11px 13px;
|
||||
width: 36px;
|
||||
height: 20px;
|
||||
border-radius: 10px;
|
||||
background-color: #64717f;
|
||||
transition: var(--def-transition) background-color;
|
||||
}
|
||||
.tm-checkbox-toggle .checkbox:checked ~ .tm-checkbox-label:before {
|
||||
background-color: #149efa;
|
||||
}
|
||||
.tm-checkbox-toggle .checkbox ~ .tm-checkbox-label:after {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin: 13px;
|
||||
border-radius: 8px;
|
||||
background-color: #fff;
|
||||
right: 18px;
|
||||
transform: translateX(0);
|
||||
transition: var(--def-transition) transform;
|
||||
}
|
||||
.tm-checkbox-toggle .checkbox:checked ~ .tm-checkbox-label:after {
|
||||
background-color: #fff;
|
||||
transform: translateX(16px);
|
||||
}
|
||||
.cant-receive,
|
||||
.codes-disabled .can-receive {
|
||||
display: none;
|
||||
}
|
||||
.codes-disabled .cant-receive {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue