drop_temp_auth_keys()

async Client.drop_temp_auth_keys()

Delete all temporary authorization keys except for the ones specified.

Usable by Users Bots
Parameters:

except_auth_keys (List of int) – The auth keys that shouldn’t be dropped.

Returns:

bool – On success, True is returned.

Example

await app.drop_temp_auth_keys([keep_key_id])