Skip to content

Commit

Permalink
Add 2 more fields to Tweet object for richer parsing (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
viv-cheung authored Jan 25, 2025
1 parent 9cab506 commit ce7e1ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tweets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ export interface Tweet {
isReply?: boolean;
isRetweet?: boolean;
isSelfThread?: boolean;
language?: string;
likes?: number;
name?: string;
mentions: Mention[];
Expand All @@ -178,6 +179,7 @@ export interface Tweet {
place?: PlaceRaw;
quotedStatus?: Tweet;
quotedStatusId?: string;
quotes?: number;
replies?: number;
retweets?: number;
retweetedStatus?: Tweet;
Expand Down

0 comments on commit ce7e1ee

Please sign in to comment.