Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class ChatInvite_
extends _ChatInvite_
import { ChatInvite_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Chat invite info

Constructors

new
ChatInvite_(params: { channel?: true; broadcast?: true; public?: true; megagroup?: true; request_needed?: true; verified?: true; scam?: true; fake?: true; title: string; about?: string; photo: enums.Photo; participants_count: number; participants?: Array<enums.User>; color: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
about: string

Description of the group of channel

optional
broadcast: true

Whether this is a channel

optional
channel: true

Whether this is a channel/supergroup or a normal group

optional
fake: true

If set, this chat was reported by many users as a fake or scam: be careful when interacting with it.

optional
megagroup: true

Whether this is a supergroup

optional
participants: Array<enums.User>

A few of the participants that are in the group

participants_count: number

Participant count

photo: enums.Photo

Chat/supergroup/channel photo

optional
public: true

Whether this is a public channel/supergroup

optional
request_needed: true

Whether the join request » must be first approved by an administrator

optional
scam: true

This chat is probably a scam

title: string

Chat/supergroup/channel title

optional
verified: true

Is this chat or channel verified by Telegram?

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc