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
Go to Latest
function getChatIdPeerType
import { getChatIdPeerType } from "https://deno.land/x/mtkruto@0.2.50/2_tl.ts";

Parameters

chatId: number

Returns

"user" | "chat" | "channel"