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

x/mtkruto/2_tl.ts>getChatIdPeerType

Cross-runtime JavaScript library for building Telegram clients
Latest
function getChatIdPeerType
import { getChatIdPeerType } from "https://deno.land/x/mtkruto@0.6.3/2_tl.ts";

Parameters

chatId: number

Returns

"user" | "chat" | "channel"