account.SendChangePhoneCode#

class pyrogram.raw.functions.account.SendChangePhoneCode#

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

Details:
  • Layer: 158

  • ID: 82574AE5

Parameters:
  • phone_number (str) – New phone number.

  • settings (CodeSettings) – Phone code settings.

Returns:

auth.SentCode