Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/grm/src/client/telegram_client.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.2/src/client/telegram_client.ts";

Parameters

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

Returns

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