Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.ts>types.PeerSettings

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class types.PeerSettings
import { types } from "https://deno.land/x/mtkruto@0.0.999/mod.ts";
const { PeerSettings } = types;

Constructors

new
PeerSettings(params?: { reportSpam?: true; addContact?: true; blockContact?: true; shareContact?: true; needContactsException?: true; reportGeo?: true; autoarchived?: true; inviteMembers?: true; requestChatBroadcast?: true; geoDistance?: number; requestChatTitle?: string; requestChatDate?: number; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
optional
addContact: true
optional
autoarchived: true
optional
blockContact: true
optional
geoDistance: number
optional
inviteMembers: true
optional
needContactsException: true
optional
reportGeo: true
optional
reportSpam: true
optional
requestChatBroadcast: true
optional
requestChatDate: number
optional
requestChatTitle: string
optional
shareContact: true

Static Properties

readonly
[paramDesc]: ParamDesc