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>upload_getWebFile_

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

Returns content of a web file, by proxying the request through telegram, see the webfile docs for more info.

Constructors

new
upload_getWebFile_(params: { location: enums.InputWebFileLocation; offset: number; limit: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
limit: number

Number of bytes to be returned

location: enums.InputWebFileLocation

The file to download

offset: number

Number of bytes to be skipped

Static Properties

__F: (params: { location: enums.InputWebFileLocation; offset: number; limit: number; }) => enums.upload.WebFile
readonly
[name]: string
readonly
[paramDesc]: ParamDesc