Skip to content

Commit 1c4f06b

Browse files
authored
feat: add new user fields (#614)
1 parent 0530aab commit 1c4f06b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/types/v2/user.v2.types.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,16 @@ export interface UserV2 {
122122
pinned_tweet_id?: string;
123123
connection_status?: string[];
124124
most_recent_tweet_id?: string;
125+
affiliation?: {
126+
badge_url?: string;
127+
description?: string;
128+
url?: string;
129+
user_id?: string[];
130+
};
131+
is_identity_verified?: boolean;
132+
parody?: boolean;
133+
receives_your_dm?: boolean;
134+
subscription?: boolean;
135+
subscription_type?: 'Basic' | 'Premium' | 'PremiumPlus' | 'None';
136+
verified_followers_count?: number;
125137
}

0 commit comments

Comments
 (0)