420 - Flood

exception pyrogram.api.errors.exceptions.flood_420.Flood(x: int = None, query_type: type = None)

Bases: pyrogram.api.errors.error.Error

CODE = 420

Error Code

Type:int
exception pyrogram.api.errors.exceptions.flood_420.FloodWait(x: int = None, query_type: type = None)

Bases: pyrogram.api.errors.exceptions.flood_420.Flood

A wait of {x} seconds is required

ID = 'FLOOD_WAIT_X'

Error ID

Type:str
exception pyrogram.api.errors.exceptions.flood_420.TakeoutInitDelay(x: int = None, query_type: type = None)

Bases: pyrogram.api.errors.exceptions.flood_420.Flood

You have to confirm the data export request using one of your mobile devices or wait {x} seconds

ID = 'TAKEOUT_INIT_DELAY_X'

Error ID

Type:str