Skip to main content
Module

x/grm/mod.ts>TelegramBaseClient#getDC

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

Parameters

_dcId: number
_download: boolean

Returns

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