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_getContacts_

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

Returns the current user's contact list.

Constructors

new
contacts_getContacts_(params: { hash: bigint; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
hash: bigint

If there already is a full contact list on the client, a hash of a the list of contact IDs in ascending order may be passed in this parameter. If the contact set was not changed, (contacts.contactsNotModified) will be returned.

Static Properties

__F: (params: { hash: bigint; }) => enums.contacts.Contacts
readonly
[name]: string
readonly
[paramDesc]: ParamDesc