class pyrogram.raw.types.CodeSettings

Settings used by telegram servers for sending the confirm code.

Constructor type of CodeSettings.

  • Layer: 126

  • ID: 0xdebebe83

  • allow_flashcall (bool, optional) – Whether to allow phone verification via phone calls.

  • current_number (bool, optional) – Pass true if the phone number is used on the current device. Ignored if allow_flashcall is not set.

  • allow_app_hash (bool, optional) – If a token that will be included in eventually sent SMSs is required: required in newer versions of android, to use the android SMS receiver APIs.