Skip to main content
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.1.115/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