mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-11-28 19:23:11 +01:00
Update content of files
This commit is contained in:
parent
cd1932dead
commit
b6706bc20f
1 changed files with 22 additions and 20 deletions
|
@ -53,83 +53,85 @@
|
|||
</ul>
|
||||
</div>
|
||||
<pre class="page_scheme"><code><a href="/constructor/payments.paymentForm" class="current_page_link" >payments.paymentForm</a>#3f56aea3 flags:<a href="/type/%23" >#</a> can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:<a href="/type/int" >int</a> invoice:<a href="/type/Invoice" >Invoice</a> provider_id:<a href="/type/int" >int</a> url:<a href="/type/string" >string</a> native_provider:flags.4?<a href="/type/string" >string</a> native_params:flags.4?<a href="/type/DataJSON" >DataJSON</a> saved_info:flags.0?<a href="/type/PaymentRequestedInfo" >PaymentRequestedInfo</a> saved_credentials:flags.1?<a href="/type/PaymentSavedCredentials" >PaymentSavedCredentials</a> users:<a href="/type/Vector%20t" >Vector</a><<a href="/type/User" >User</a>> = <a href="/type/payments.PaymentForm" >payments.PaymentForm</a>;</code></pre></p>
|
||||
<h3><a class="anchor" href="#parameters" id="parameters" name="parameters"><i class="anchor-icon"></i></a>Parameters</h3>
|
||||
<h3><a class="anchor" name="parameters" href="#parameters"><i class="anchor-icon"></i></a>Parameters</h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th style="text-align: center;">Type</th>
|
||||
<th align="center">Type</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>flags</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/%23">#</a></td>
|
||||
<td align="center"><a href="/type/%23">#</a></td>
|
||||
<td>Flags, see <a href="/mtproto/TL-combinators#conditional-fields">TL conditional fields</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>can_save_credentials</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/constructor/true">true</a></td>
|
||||
<td align="center"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/constructor/true">true</a></td>
|
||||
<td>Whether the user can choose to save credentials.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>password_missing</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/constructor/true">true</a></td>
|
||||
<td>Indicates that the user can save payment credentials, but only after setting up a <a href="/api/srp">2FA password</a> (currently the account doesn't have a <a href="/api/srp">2FA password</a>)</td>
|
||||
<td align="center"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/constructor/true">true</a></td>
|
||||
<td>Indicates that the user can save payment credentials, but only after setting up a <a href="/api/srp">2FA password</a> (currently the account doesn't have a <a href="/api/srp">2FA password</a>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>bot_id</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||||
<td align="center"><a href="/type/int">int</a></td>
|
||||
<td>Bot ID</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>invoice</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/Invoice">Invoice</a></td>
|
||||
<td align="center"><a href="/type/Invoice">Invoice</a></td>
|
||||
<td>Invoice</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>provider_id</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||||
<td align="center"><a href="/type/int">int</a></td>
|
||||
<td>Payment provider ID.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>url</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
||||
<td align="center"><a href="/type/string">string</a></td>
|
||||
<td>Payment form URL</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>native_provider</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.4?<a href="/type/string">string</a></td>
|
||||
<td align="center"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.4?<a href="/type/string">string</a></td>
|
||||
<td>Payment provider name.<br>One of the following:<br>- <code>stripe</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>native_params</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.4?<a href="/type/DataJSON">DataJSON</a></td>
|
||||
<td>Contains information about the payment provider, if available, to support it natively without the need for opening the URL.<br>A JSON object that can contain the following fields:<br><br>- <code>publishable_key</code>: Stripe API publishable key<br>- <code>apple_pay_merchant_id</code>: Apple Pay merchant ID<br>- <code>android_pay_public_key</code>: Android Pay public key<br>- <code>android_pay_bgcolor</code>: Android Pay form background color<br>- <code>android_pay_inverse</code>: Whether to use the dark theme in the Android Pay form<br>- <code>need_country</code>: True, if the user country must be provided,<br>- <code>need_zip</code>: True, if the user ZIP/postal code must be provided,<br>- <code>need_cardholder_name</code>: True, if the cardholder name must be provided<br></td>
|
||||
<td align="center"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.4?<a href="/type/DataJSON">DataJSON</a></td>
|
||||
<td>Contains information about the payment provider, if available, to support it natively without the need for opening the URL.<br>A JSON object that can contain the following fields:<br><br>- <code>apple_pay_merchant_id</code>: Apple Pay merchant ID<br>- <code>google_pay_public_key</code>: Google Pay public key<br>- <code>need_country</code>: True, if the user country must be provided,<br>- <code>need_zip</code>: True, if the user ZIP/postal code must be provided,<br>- <code>need_cardholder_name</code>: True, if the cardholder name must be provided
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>saved_info</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/PaymentRequestedInfo">PaymentRequestedInfo</a></td>
|
||||
<td align="center"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/PaymentRequestedInfo">PaymentRequestedInfo</a></td>
|
||||
<td>Saved server-side order information</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>saved_credentials</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/PaymentSavedCredentials">PaymentSavedCredentials</a></td>
|
||||
<td align="center"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/PaymentSavedCredentials">PaymentSavedCredentials</a></td>
|
||||
<td>Contains information about saved card credentials</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>users</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a><<a href="/type/User">User</a>></td>
|
||||
<td align="center"><a href="/type/Vector%20t">Vector</a><<a href="/type/User">User</a>></td>
|
||||
<td>Users</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||
<h3><a class="anchor" name="type" href="#type"><i class="anchor-icon"></i></a>Type</h3>
|
||||
<p><a href="/type/payments.PaymentForm">payments.PaymentForm</a></p>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#two-factor-authentication" id="two-factor-authentication" name="two-factor-authentication"><i class="anchor-icon"></i></a><a href="/api/srp">Two-factor authentication</a></h4>
|
||||
<p>How to login to a user's account if they have enabled 2FA, how to change password.</p></div>
|
||||
<h3><a class="anchor" name="related-pages" href="#related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" name="two-factor-authentication" href="#two-factor-authentication"><i class="anchor-icon"></i></a><a href="/api/srp">Two-factor authentication</a></h4>
|
||||
<p>How to login to a user's account if they have enabled 2FA, how to change password.</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue