messages.StartHistoryImport¶
- class pyrogram.raw.functions.messages.StartHistoryImport[source]¶
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.
Usable by Users Bots- Details:
Layer:
229ID:
B43DF344
- Parameters:
peer (
InputPeer) – The Telegram chat where the messages should be imported, click here for more info »import_id (
int64-bit) – Identifier of a history import session, returned by messages.initHistoryImport.
- Returns:
bool