Class FetchArgs

Options specifying the data that is to be fetched.

Hierarchy

  • FetchArgs

Constructors

Properties

Constructors

Properties

count?: number

The number of data items to fetch.

Remarks

cursor?: string

The cursor to the batch of data to fetch.

Remarks

  • May be used for cursored resources.
  • Has no effect for other resources.
filter?: TweetFilter

The filter for searching tweets.

Remarks

Required when searching for tweets using TWEET_SEARCH.

id?: string

The id of the target resource.

Remarks

  • Required for all resources except TWEET_SEARCH and EResourceType.USER_TIMELINE_RECOMMENDED.
  • For USER_DETAILS_BY_USERNAME, can be alphanumeric, while for others, is strictly numeric.

Generated using TypeDoc