check_paid_auth()¶
- async Client.check_paid_auth()¶
Check the status of a login payment.
Usable by Users Bots- Parameters:
phone_number (
str) – Phone number.phone_code_hash (
str) – The phone code hash obtained from send_code.form_id (
int) – The payment form ID passed to payments.sendPaymentForm.
- Returns:
SentCode– Sent code status object.
Example
sent_code = await app.check_paid_auth("+1234567890", code_hash, form_id)