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

x/mtkruto/tl/2_types.ts>PeerSettings

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class PeerSettings
import { PeerSettings } from "https://deno.land/x/mtkruto@0.1.101/tl/2_types.ts";

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