Skip to main content
Module

x/mtkruto/mod.ts>types.Chat

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class types.Chat
extends _TypeChat
import { types } from "https://deno.land/x/mtkruto@0.1.114/mod.ts";
const { Chat } = types;

Constructors

new
Chat(params: { creator?: true; left?: true; deactivated?: true; callActive?: true; callNotEmpty?: true; noforwards?: true; id: bigint; title: string; photo: TypeChatPhoto; participantsCount: number; date: number; version: number; migratedTo?: TypeInputChannel; adminRights?: TypeChatAdminRights; defaultBannedRights?: TypeChatBannedRights; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
optional
adminRights: TypeChatAdminRights
optional
callActive: true
optional
callNotEmpty: true
optional
creator: true
date: number
optional
deactivated: true
optional
defaultBannedRights: TypeChatBannedRights
id: bigint
optional
left: true
optional
migratedTo: TypeInputChannel
optional
noforwards: true
participantsCount: number
photo: TypeChatPhoto
title: string
version: number

Static Properties

readonly
[paramDesc]: ParamDesc