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).
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
peer | InputPeer | Ja | The Telegram chat where the messages should be [imported, click here for more info »](https://core.telegram.org/api/import.md) |
import_id | long | Ja | Identifier of a history import session, returned by [messages.initHistoryImport](https://core.telegram.org/method/messages.initHistoryImport.md). |
Antworten
Bool
MTProto RPC
- 400 · CHAT_ADMIN_REQUIRED — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.
- 400 · IMPORT_ID_INVALID – Die angegebene Import-ID ist ungültig.
- 400 · PEER_ID_INVALID – Die angegebene Peer-ID ist ungültig.