Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseGroup

Hierarchy

Constructors

constructor

Properties

Readonly client

client: Client

closed

closed: boolean

createdAt

createdAt: number

creatorID

creatorID: string

Readonly id

id: string

imageURL

imageURL: null | string

inviteQR

inviteQR: null | string

inviteURL

inviteURL: null | string

joinQuestion

joinQuestion: null | string

lastMessage

lastMessage: MessagePreview

likeIcon

likeIcon: null | object

maxMembers

maxMembers: number

Readonly members

members: MemberManager

messageCount

messageCount: number

Optional messageDeletionMode

messageDeletionMode: string[]

Optional messageDeletionPeriod

messageDeletionPeriod: number

Optional mutedUntil

mutedUntil: null | number

name

name: string

officeMode

officeMode: boolean

phoneNumber

phoneNumber: null | string

requiresApproval

requiresApproval: boolean

showJoinQuestion

showJoinQuestion: boolean

theme

theme: null | string

Readonly Abstract type

updatedAt

updatedAt: number

Methods

_clone

  • _clone(): any
  • Returns any

_patch

  • Parameters

    • data: Partial<APIGroup>

    Returns BaseGroup

Static _patch

  • Parameters

    • self: Channel
    • data: Partial<ChannelData>

    Returns Channel

Static dataFromChat

  • dataFromChat(data: APIChat): ChannelData
  • Parameters

    • data: APIChat

    Returns ChannelData

Static dataFromGroup

  • dataFromGroup(data: APIGroup): ChannelData
  • Parameters

    • data: APIGroup

    Returns ChannelData

Generated using TypeDoc