messages.checkHistoryImportPeer
Check whether chat history exported from another chat app can be imported into a specific Telegram chat, click here for more info ».
Check whether chat history exported from another chat app can be [imported into a specific Telegram chat, click here for more info »](https://core.telegram.org/api/import.md).
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
peer | InputPeer | はい | The chat where we want to [import history »](https://core.telegram.org/api/import.md). |
レスポンス
messages.CheckedHistoryImportPeer
MTProto RPC
- 400 · CHAT_ADMIN_REQUIRED — You must be an admin in this chat to do this.
- 400 · PEER_ID_INVALID — The provided peer id is invalid.
- 400 · USER_NOT_MUTUAL_CONTACT — The provided user is not a mutual contact.