From 179cccc6f85e1b63164cf0f18e9983eea8e176cb Mon Sep 17 00:00:00 2001 From: Vivian Cheung Date: Tue, 21 Jan 2025 23:42:13 -0500 Subject: [PATCH] Add 2 more fields to Tweet object for richer parsing --- 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;