Skip to main content
Module

x/grm/mod.ts>TelegramClient#getDC

MTProto API Client for Deno 🦕
Go to Latest
method TelegramClient.prototype.getDC
import { TelegramClient } from "https://deno.land/x/grm@0.5.4/mod.ts";

Parameters

dcId: number
optional
downloadDC = [UNSUPPORTED]
optional
web = [UNSUPPORTED]

Returns

Promise<{ id: number; ipAddress: string; port: number; }>