Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grm/mod.ts>sessions.Session#setDC

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

Parameters

dcId: number
serverAddress: string
port: number