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

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

Invoke the specified query using the specified API layer

Constructors

new
invokeWithLayer_(params: { layer: number; query: T; })

Type Parameters

T extends Function_<unknown>

Properties

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

The layer to use

query: T

The query

Static Properties

__F: <T extends Function_<unknown>>(params: { layer: number; query: T; }) => T["__R"]
readonly
[name]: string
readonly
[paramDesc]: ParamDesc