Layer 220
method Users
messages.checkHistoryImport#43fe19f3 import_head:string = messages.HistoryImportParsed;

Parameters

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

Possible Errors

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

Gogram Example

// MessagesCheckHistoryImport - positional arguments
result, err := client.MessagesCheckHistoryImport("...")
if err != nil {
    // handle error
}
// result is *tg.MessagesHistoryImportParsed