messages.HistoryImportParsed

class pyrogram.raw.types.messages.HistoryImportParsed

Contains information about a chat export file generated by a foreign chat app, click here for more info. If neither the pm or group flags are set, the specified chat export was generated from a chat of unknown type.

Constructor of HistoryImportParsed.

Details:
  • Layer: 223

  • ID: 5E0FB7B9

Parameters:
pm (bool, optional):

The chat export file was generated from a private chat.

group (bool, optional):

The chat export file was generated from a group chat.

title (str, optional):

Title of the chat.

Functions:

This object can be returned by 1 function.

messages.CheckHistoryImport

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

TL Schema

messages.historyImportParsed#5e0fb7b9
flags:#
pm:flags.0?true
group:flags.1?true
title:flags.2?string

= messages.HistoryImportParsed

Parameter Tree

HistoryImportParsed
├── pmtrue (optional)
├── grouptrue (optional)
└── titlestring (optional)

Example

HistoryImportParsed(
)