messages.startHistoryImport
Complete the history import process, importing all messages into the chat.
Complete the [history import process](https://core.telegram.org/api/import.md), importing all messages into the chat. To be called only after initializing the import with [messages.initHistoryImport](https://core.telegram.org/method/messages.initHistoryImport.md) and uploading all files using [messages.uploadImportedMedia](https://core.telegram.org/method/messages.uploadImportedMedia.md).
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
peer | InputPeer | أيوه | The Telegram chat where the messages should be [imported, click here for more info »](https://core.telegram.org/api/import.md) |
import_id | long | أيوه | Identifier of a history import session, returned by [messages.initHistoryImport](https://core.telegram.org/method/messages.initHistoryImport.md). |
الردود
Bool
MTProto RPC
- 400 · CHAT_ADMIN_REQUIRED — You must be an admin in this chat to do this.
- 400 · IMPORT_ID_INVALID — The specified import ID is invalid.
- 400 · PEER_ID_INVALID — The provided peer id is invalid.