Raw.messages.InitHistoryImport
Import chat history from a foreign chat app into a specific telegram chat, click here for more info about imported chats.
messages.initHistoryImport#34090c3b peer:InputPeer file:InputFile media_count:int = messages.HistoryImport;
export namespace Raw {
export namespace messages {
export class InitHistoryImport {
constructor(params: {
peer: Raw.TypeInputPeer;
file: Raw.TypeInputFile;
mediaCount: number;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x34090c3b
Property
peer
: Raw.TypeInputPeerThe telegram chat where the history should be imported.
file
: Raw.TypeInputFileFile with messages to import.
mediaCount
: numberNumber of media files associated with the chat that will be uploaded using messages.uploadimportedmedia.