Skip to main content
Module

x/mtkruto/mod.ts>ChatPChannelBase

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface ChatPChannelBase
implements _ChatPBase
import { type ChatPChannelBase } from "https://deno.land/x/mtkruto@0.1.702/mod.ts";

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 chat or channel's additional usernames.

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.