Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/3_functions.ts>messages_startHistoryImport_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class messages_startHistoryImport_
extends Function_<boolean>
import { messages_startHistoryImport_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

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.

Constructors

new
messages_startHistoryImport_(params: { peer: enums.InputPeer; import_id: bigint; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
import_id: bigint

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

peer: enums.InputPeer

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

Static Properties

__F: (params: { peer: enums.InputPeer; import_id: bigint; }) => boolean
readonly
[name]: string
readonly
[paramDesc]: ParamDesc