ChatPSupergroup

Properties

id: number

The identifier of the chat.

type: "supergroup"
DISCRIMINATOR
color: number

Identifier of a color that can be displayed instead of the chat’s photo.

title: string

The title of the chat or channel.

username?: string

The main username of the chat or channel.

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.

restrictionReason?: RestrictionReason[]

The reason why the chat or channel has been restricted.

isForum: boolean

Whether the chat is a forum.