clear_saved_info()

async Client.clear_saved_info()

Clear saved payment credentials and/or shipping information.

Usable by Users Bots
Parameters:
  • credentials (bool, optional) – Whether to clear saved payment credentials.

  • info (bool, optional) – Whether to clear saved shipping information.

Returns:

bool – True on success.

Example

await app.clear_saved_info(credentials=True, info=True)