Options
All
  • Public
  • Public/Protected
  • All
Menu

export class type

Type Parameters

  • T

Hierarchy

  • ChatPageResult

Index

Constructors

Properties

Constructors

  • new ChatPageResult<T>(params: { list?: T[]; opt?: { map: any }; pageCount: number }): ChatPageResult<T>
  • Type Parameters

    • T

    Parameters

    • params: { list?: T[]; opt?: { map: any }; pageCount: number }
      • Optional list?: T[]
      • Optional opt?: { map: any }
        • map:function
          • map(obj: any): any
          • Parameters

            • obj: any

            Returns any

      • pageCount: number

    Returns ChatPageResult<T>

Properties

list?: T[]

The data of the generic List type.

pageCount: number

The number of records on the current page.

If the value of PageCount is smaller than the number of records that you expect to get on each page, the current page is the last page.

Generated using TypeDoc