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

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

Obtains info about the boosts that were applied to a certain channel (admins only)

Constructors

new
premium_getBoostsList_(params: { gifts?: true; peer: enums.InputPeer; offset: string; limit: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
gifts: true

Whether to return only info about boosts received from gift codes and giveaways created by the channel »

limit: number

Maximum number of results to return, see pagination

offset: string

Offset for pagination, obtained from premium.boostsList.next_offset

peer: enums.InputPeer

The channel

Static Properties

__F: (params: { gifts?: true; peer: enums.InputPeer; offset: string; limit: number; }) => enums.premium.BoostsList
readonly
[name]: string
readonly
[paramDesc]: ParamDesc