Skip to main content
Module

x/grm/mod.ts>client.TelegramClient#getDC

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

Parameters

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

Returns

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