The generic class which contains the cursor and pagination result.

The class instance is returned when you make a paginated query.

Type Parameters

  • T

Constructors

Properties

Constructors

  • Type Parameters

    • T

    Parameters

    • params: {
          cursor: string;
          list?: T[];
          opt?: {
              map: ((obj: any) => any);
          };
      }
      • cursor: string
      • Optionallist?: T[]
      • Optionalopt?: {
            map: ((obj: any) => any);
        }
        • map: ((obj: any) => any)
            • (obj): any
            • Parameters

              • obj: any

              Returns any

    Returns ChatCursorResult<T>

Properties

cursor: string

The cursor that specifies where to start to get data.

list?: T[]

The request result.