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_initHistoryImport_

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

Import chat history from a foreign chat app into a specific Telegram chat, click here for more info about imported chats ».

Constructors

new
messages_initHistoryImport_(params: { peer: enums.InputPeer; file: enums.InputFile; media_count: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
file: enums.InputFile

File with messages to import.

media_count: number

Number of media files associated with the chat that will be uploaded using messages.uploadImportedMedia.

peer: enums.InputPeer

The Telegram chat where the history should be imported.

Static Properties

__F: (params: { peer: enums.InputPeer; file: enums.InputFile; media_count: number; }) => enums.messages.HistoryImport
readonly
[name]: string
readonly
[paramDesc]: ParamDesc