Layer 227
MessagesHistoryImportParsedObj
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
messages.historyImportParsed#5e0fb7b9 flags:# pm:flags.0?true group:flags.1?true title:flags.2?string = messages.HistoryImportParsed;
Parameters
| Name | Type | Description |
|---|---|---|
| Pm | flags .0? true | The chat export file was generated from a private chat. |
| Group | flags .1? true | The chat export file was generated from a group chat. |
| Title | flags .2? string | Title of the chat. |
Returns
messages.HistoryImportParsedGogram Example
// Creating MessagesHistoryImportParsedObj constructor obj := &tg.MessagesHistoryImportParsedObj{ Pm: nil, Group: nil, Title: "Hello, World!", }