SendChangePhoneCode

class pyrogram.raw.functions.account.SendChangePhoneCode

Verify a new phone number to associate to the current account.

Details
  • Layer: 126

  • ID: 0x82574ae5

Parameters
  • phone_number (str) – New phone number.

  • settings (CodeSettings) – Phone code settings.

Returns

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