Interface IFetchArgs

Options specifying the data that is to be fetched.

interface IFetchArgs {
    count?: number;
    cursor?: string;
    filter?: ITweetFilter;
    id?: string;
    ids?: string[];
    sortBy?: ETweetRepliesSortType;
}

Implemented by

Properties

count?: number

The number of data items to fetch.

cursor?: string

The cursor to the batch of data to fetch.

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

The filter for searching tweets.

Required when searching for tweets using EResourceType.TWEET_SEARCH.

id?: string

The id of the target resource.

ids?: string[]

The IDs of the target resources.

The sorting to use for tweet results.