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

x/grm/mod.ts>network.UpdateConnectionState

MTProto API Client for Deno 🦕
Go to Latest
class network.UpdateConnectionState
import { network } from "https://deno.land/x/grm@0.5.2/mod.ts";
const { UpdateConnectionState } = network;

Constructors

new
UpdateConnectionState(state: number)

Properties

state: number

Static Properties

broken: number
connected: number
disconnected