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

x/grm/tl/api.d.ts>Api.Chat

MTProto API Client for Deno 🦕
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.2/tl/api.d.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