Constructors
constructor
- new ChatPreview(invite: RawChatInvite, link: string): ChatPreview
Properties
Readonly
invite
Readonly
link
link: string
Accessors
customVerification
- get customVerification(): null | BotVerification
memberCount
- get memberCount(): number
Returns number
photo
- get photo(): null | Photo
Returns null | Photo
public
- get public(): boolean
Returns boolean
someMembers
- get someMembers(): readonly User[]
Returns readonly User[]
title
- get title(): string
Returns string
type
- get type(): ChatPreviewType
withApproval
- get withApproval(): boolean
Returns boolean
Original invite link used to fetch this preview