Raw.messages.StartHistoryImport

Raw.messages.StartHistoryImport

Complete the history import process, importing all messages into the chat. to be called only after initializing the import with messages.inithistoryimport and uploading all files using messages.uploadimportedmedia.

messages.startHistoryImport#b43df344 peer:InputPeer import_id:long = Bool;
export namespace Raw {
  export namespace messages {
    export class StartHistoryImport {
      constructor(params: { peer: Raw.TypeInputPeer; importId: bigint }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0xb43df344

Property

  • peer : Raw.TypeInputPeer

    The telegram chat where the messages should be imported, click here for more info

  • importId : bigint

    Identifier of a history import session, returned by messages.inithistoryimport.

Results

boolean