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

x/mtkruto/3_types.ts>Chat.ChannelBase

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface Chat.ChannelBase
implements Base
import { type Chat } from "https://deno.land/x/mtkruto@0.1.118/3_types.ts";
const { ChannelBase } = Chat;

Properties

title: string

The title of the chat or channel.

optional
username: string

The main username of the chat or channel.

optional
also: string[]

The other usernames of the chat or channel.

optional
photo: ChatPhoto.Chat

The chat or channel's photo.

isScam: boolean

Whether the chat or channel has been identified as scam.

isFake: boolean

Whether the chat or channel has been identified as an impersonator.

isVerified: boolean

Whether the chat or channel has been verified.

isRestricted: boolean

Whether the chat or channel has been restricted.

optional
restrictionReason: RestrictionReason[]

The reason why the chat or channel has been restricted.