Skip to content

Commit

Permalink
Merge pull request #198 from Rishikant181/visibility-tweet
Browse files Browse the repository at this point in the history
Fixed retweeted tweet field of Tweet to include tweets with limited visibility
  • Loading branch information
Rishikant181 authored Oct 31, 2024
2 parents 1c35dc6 + aa09614 commit d1d5868
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rettiwt-core",
"version": "4.3.1",
"version": "4.3.2",
"description": "A library for generating requests for Twitter API",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
6 changes: 1 addition & 5 deletions src/types/base/Tweet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export interface ITweetLegacy {
retweeted: boolean;
user_id_str: string;
id_str: string;
retweeted_status_result: IRetweetedStatusResult;
retweeted_status_result: IDataResult<ITweet | ILimitedVisibilityTweet>;
}

export interface IEntities {
Expand Down Expand Up @@ -134,10 +134,6 @@ export interface IExtendedEntities {
media: IExtendedMedia[];
}

export interface IRetweetedStatusResult {
result: ITweet;
}

export interface ITweetQuickPromoteEligibilityInfo {
eligibility: string;
}

0 comments on commit d1d5868

Please sign in to comment.