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

x/mtkruto/tl/2_types.ts>ChatBannedRights

An attempt to write a Deno-native MTProto client
Go to Latest
class ChatBannedRights
import { ChatBannedRights } from "https://deno.land/x/mtkruto@0.0.62/tl/2_types.ts";

Constructors

new
ChatBannedRights(params: { viewMessages?: true; sendMessages?: true; sendMedia?: true; sendStickers?: true; sendGifs?: true; sendGames?: true; sendInline?: true; embedLinks?: true; sendPolls?: true; changeInfo?: true; inviteUsers?: true; pinMessages?: true; manageTopics?: true; sendPhotos?: true; sendVideos?: true; sendRoundvideos?: true; sendAudios?: true; sendVoices?: true; sendDocs?: true; sendPlain?: true; untilDate: number; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
optional
changeInfo: true
optional
inviteUsers: true
optional
manageTopics: true
optional
pinMessages: true
optional
sendAudios: true
optional
sendDocs: true
optional
sendGames: true
optional
sendGifs: true
optional
sendInline: true
optional
sendMedia: true
optional
sendMessages: true
optional
sendPhotos: true
optional
sendPlain: true
optional
sendPolls: true
optional
sendRoundvideos: true
optional
sendStickers: true
optional
sendVideos: true
optional
sendVoices: true
untilDate: number
optional
viewMessages: true

Static Properties

readonly
[paramDesc]: ParamDesc