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

x/grm/src/mod.ts>Api.Chat

MTProto API Client for Deno 🦕
Go to Latest
class Api.Chat
extends VirtualClass<{ creator?: boolean; left?: boolean; deactivated?: boolean; callActive?: boolean; callNotEmpty?: boolean; noforwards?: boolean; id: long; title: string; photo: Api.TypeChatPhoto; participantsCount: int; date: int; version: int; migratedTo?: Api.TypeInputChannel; adminRights?: Api.TypeChatAdminRights; defaultBannedRights?: Api.TypeChatBannedRights; }>
import { Api } from "https://deno.land/x/grm@0.8.0/src/mod.ts";
const { Chat } = Api;

Properties

optional
adminRights: Api.TypeChatAdminRights
optional
callActive: boolean
optional
callNotEmpty: boolean
className: "Chat"
classType: "constructor"
CONSTRUCTOR_ID: 1103884886
optional
creator: boolean
date: int
optional
deactivated: boolean
optional
defaultBannedRights: Api.TypeChatBannedRights
id: long
optional
left: boolean
optional
migratedTo: Api.TypeInputChannel
optional
noforwards: boolean
participantsCount: int
photo: Api.TypeChatPhoto
SUBCLASS_OF_ID: 3316604308
title: string
version: int

Static Methods

fromReader(reader: Reader): Chat