From ce7e1eeabd6d1d7cf536fe86ad11d946d502348c Mon Sep 17 00:00:00 2001 From: Vivian Cheung <45827928+viv-cheung@users.noreply.github.com> Date: Sat, 25 Jan 2025 01:17:07 -0500 Subject: [PATCH] Add 2 more fields to Tweet object for richer parsing (#57) --- src/tweets.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tweets.ts b/src/tweets.ts index 64e1f72..15ae877 100644 --- a/src/tweets.ts +++ b/src/tweets.ts @@ -170,6 +170,7 @@ export interface Tweet { isReply?: boolean; isRetweet?: boolean; isSelfThread?: boolean; + language?: string; likes?: number; name?: string; mentions: Mention[]; @@ -178,6 +179,7 @@ export interface Tweet { place?: PlaceRaw; quotedStatus?: Tweet; quotedStatusId?: string; + quotes?: number; replies?: number; retweets?: number; retweetedStatus?: Tweet;