messages.CheckHistoryImport

class pyrogram.raw.functions.messages.CheckHistoryImport

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

Details:
  • Layer: 223

  • ID: 43FE19F3

Parameters:

import_head (str) – Beginning of the message file; up to 100 lines.

Returns:

messages.HistoryImportParsed

TL Schema

messages.checkHistoryImport#43fe19f3
import_head:string

= messages.HistoryImportParsed

Parameter Tree

CheckHistoryImport
└── import_headstring

Example

await app.invoke(
    CheckHistoryImport(
        import_head="text",
    )
)