Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 5.29 KB

File metadata and controls

26 lines (21 loc) · 5.29 KB

GetRetweetersCursorResponse

Example Usage

import { GetRetweetersCursorResponse } from "@twexapi-dev/x-api-scraper/models";

let value: GetRetweetersCursorResponse = {
  code: 234912,
  msg: "<value>",
  data: [],
  hasNextPage: false,
  nextCursor:
    "eyJpZCI6IjIwNjAwNTE1Mzg3OTQ0Mzg2NzciLCJmbG9ja0N1cnNvciI6IjQ2MTE2ODYwMTg2Mjg5ODcxNzkiLCJvcmlnaW5hbERpcmVjdGlvbiI6IkRlc2NlbmRpbmcifQ==-999995",
};

Fields

Field Type Required Description Example
code number ✔️ The status code of the response.
msg string ✔️ The message of the response.
data models.UserModel[] ✔️ A list of user objects for the current page.
hasNextPage boolean ✔️ Whether another page is available.
nextCursor string Use this cursor to fetch the next page when has_next_page is true. eyJpZCI6IjIwNjAwNTE1Mzg3OTQ0Mzg2NzciLCJmbG9ja0N1cnNvciI6IjQ2MTE2ODYwMTg2Mjg5ODcxNzkiLCJvcmlnaW5hbERpcmVjdGlvbiI6IkRlc2NlbmRpbmcifQ==-999995