messages.checkHistoryImport

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

 Method schema is available as of layer 123. Switch »

Parameters

Name Type Description
import_head string Beginning of the message file; up to 100 lines.

Result

messages.HistoryImportParsed

Possible errors

Code Type Description
400 IMPORT_FORMAT_UNRECOGNIZED The specified chat export file was exported from an unsupported chat app.

Related pages

Imported messages

Telegram allows importing messages and media from foreign chat apps.