A paginated tweets API response. The next field can be used to fetch the next page of results, and the previous can be used to fetch the previous results (or results created after the inital request)

interface QueryTweetsResponse {
    next?: string;
    previous?: string;
    tweets: Tweet[];
}

Properties

next?: string
previous?: string
tweets: Tweet[]