send_confirm_phone_code()

async Client.send_confirm_phone_code()

Send confirmation code to cancel account deletion.

Usable by Users Bots
Parameters:
  • hash (str) – The hash from the service notification.

  • settings (CodeSettings) – Phone code settings.

Returns:

SentCode – On success, sent code info is returned.