start_history_import()

async Client.start_history_import()

Start a previously initialized history import.

Usable by Users Bots
Parameters:
  • chat_id (int | str) – The target chat.

  • import_id (int) – The import session ID from init_history_import().

Returns:

bool – True on success.

Example

await app.start_history_import(chat_id, import_id)