Layer 224
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.

Gogram Example

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

Possible Errors

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