SendVerifyPhoneCode

class pyrogram.raw.functions.account.SendVerifyPhoneCode

Send the verification phone code for telegram passport.

Details
  • Layer: 126

  • ID: 0xa5a356f9

Parameters
  • phone_number (str) – The phone number to verify.

  • settings (CodeSettings) – Phone code settings.

Returns

auth.SentCode – Contains info on a confirmation code message sent via SMS, phone call or Telegram.