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

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

Get most used peers

Constructors

new
contacts_getTopPeers_(params: { correspondents?: true; bots_pm?: true; bots_inline?: true; phone_calls?: true; forward_users?: true; forward_chats?: true; groups?: true; channels?: true; offset: number; limit: number; hash: bigint; })

Properties

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

Most used inline bots

optional
bots_pm: true

Most used bots

optional
channels: true

Most frequently visited channels

optional
correspondents: true

Users we've chatted most frequently with

optional
forward_chats: true

Chats to which the users often forwards messages to

optional
forward_users: true

Users to which the users often forwards messages to

optional
groups: true

Often-opened groups and supergroups

limit: number

Maximum number of results to return, see pagination

offset: number

Offset for pagination

optional
phone_calls: true

Most frequently called users

Static Properties

__F: (params: { correspondents?: true; bots_pm?: true; bots_inline?: true; phone_calls?: true; forward_users?: true; forward_chats?: true; groups?: true; channels?: true; offset: number; limit: number; hash: bigint; }) => enums.contacts.TopPeers
readonly
[name]: string
readonly
[paramDesc]: ParamDesc