Skip to main content
Module

x/mtkruto/types/1_chat.ts>Chat.Base

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface Chat.Base
import { type Chat } from "https://deno.land/x/mtkruto@0.0.989/types/1_chat.ts";
const { Base } = Chat;

Properties

type: ChatType

Type of chat, can be either “private”, “group”, “supergroup” or “channel”

id: number

Unique identifier for this chat. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.

idColor: string
optional
photo: ChatPhoto

Chat photo.