messages.checkHistoryImport #

Obtains information about a chat export file, generated by a foreign chat app, click here for more info about imported chats ».

Layer 223

messages.historyImportParsed#5e0fb7b9 flags:# pm:flags.0?true group:flags.1?true title:flags.2?string = messages.HistoryImportParsed;
---functions---
messages.checkHistoryImport#43fe19f3 import_head:string = messages.HistoryImportParsed;

Parameters #

NameTypeDescription
import_headstringBeginning of the message file; up to 100 lines.

Result #

messages.HistoryImportParsed

Only users can use this method #

Possible errors #

CodeTypeDescription
400IMPORT_FORMAT_UNRECOGNIZEDThe specified chat export file was exported from an unsupported chat app.

Imported messages #

Telegram allows importing messages and media from foreign chat apps.