Hierarchy

Properties

Accessors

Methods

Properties

channelType: ChannelType = ChannelType.BASE
coverUrl: string = ''
creator: null | User = null
customType: string = ''
data: string = ''
isCategoryFilterEnabled: boolean
isEphemeral: boolean = false
isFrozen: boolean = false
isTemplateLabelEnabled: boolean
lastMessage: null | NotificationMessage
notificationCategories: NotificationCategory[]

Accessors

  • get cachedMetaData(): object
  • Returns object

  • get createdAt(): number
  • Returns number

  • get memberCount(): number
  • Returns number

  • get messageCollectionLastAccessedAt(): number
  • Returns number

  • get myLastRead(): number
  • Returns number

  • get name(): string
  • Returns string

  • set name(value): void
  • Parameters

    • value: string

    Returns void

  • get unreadMessageCount(): number
  • Returns number

  • get url(): string
  • Returns string

Methods

  • Parameters

    • userIds: string[]

    Returns Promise<void>

  • Parameters

    • user: User
    • Optional duration: number
    • Optional description: string

    Returns Promise<void>

  • Parameters

    • userId: string
    • Optional duration: number
    • Optional description: string

    Returns Promise<void>

  • Parameters

    • pollId: number

    Returns Promise<void>

  • Parameters

    • pollId: number
    • pollOptionId: number

    Returns Promise<void>

  • Parameters

    Returns Promise<boolean>

  • Parameters

    Returns Promise<boolean>

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    • user: User
    • Optional duration: number
    • Optional description: string

    Returns Promise<void>

  • Parameters

    • userId: string
    • Optional duration: number
    • Optional description: string

    Returns Promise<void>

  • Parameters

    • userIds: string[]

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Returns object

  • Parameters

    • pollId: number
    • pollOptionId: number
    • optionText: string

    Returns Promise<Poll>

Generated using TypeDoc