messages.StartHistoryImport#

class pyrogram.raw.functions.messages.StartHistoryImport#

Complete the history import process, importing all messages into the chat. To be called only after initializing the import with messages.initHistoryImport and uploading all files using messages.uploadImportedMedia.

Details:
  • Layer: 187

  • ID: B43DF344

Parameters:
peer (InputPeer):

The Telegram chat where the messages should be imported, click here for more info »

import_id (int 64-bit):

Identifier of a history import session, returned by messages.initHistoryImport.

Returns:

bool