Skip to content

Latest commit

 

History

History
41 lines (37 loc) · 30 KB

File metadata and controls

41 lines (37 loc) · 30 KB

UserInfo

User information structure

Fields

Field Setter Type Getter Type Required Description Example
userId String String ✔️ User ID
isBlueVerified boolean boolean ✔️ Blue verification status
createdAt String String ✔️ Account creation date
createdAtDatetime @Nullable String JsonNullable<String> Account creation datetime in ISO format
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
defaultProfile boolean boolean ✔️ Default profile flag
defaultProfileImage boolean boolean ✔️ Default profile image flag
description String String ✔️ Bio description
location String String ✔️ Location
fastFollowersCount long long ✔️ Fast followers count
favouritesCount long long ✔️ Likes count
followersCount long long ✔️ Followers count
followingCount long long ✔️ Following count
hasCustomTimelines boolean boolean ✔️ Has custom timelines flag
isTranslator boolean boolean ✔️ Is translator flag
listedCount long long ✔️ Listed count
mediaCount long long ✔️ Media count
name String String ✔️ Display name
normalFollowersCount long long ✔️ Normal followers count
pinnedTweetIdsStr @Nullable List<Object> JsonNullable<List<Object>> Pinned tweet IDs
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
possiblySensitive boolean boolean ✔️ Possibly sensitive flag
profileImageUrlHttps String String ✔️ Profile image URL
username String String ✔️ Username
statusesCount long long ✔️ Tweets count
translatorType @Nullable String JsonNullable<String> Translator type
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
verified boolean boolean ✔️ Legacy verification status
verifiedType @Nullable String JsonNullable<String> Verification badge type: blue, business, government, etc.
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
Example 1: blue
Example 2: business
Example 3: government
withheldInCountries @Nullable List<Object> JsonNullable<List<Object>> Withheld in countries
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
protected_ boolean boolean ✔️ Protected account flag
url @Nullable String JsonNullable<String> User profile URL
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
descriptionUrls @Nullable List<Object> JsonNullable<List<Object>> Description URLs
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
urls @Nullable List<Object> JsonNullable<List<Object>> User URLs
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
pinnedTweetIds @Nullable List<Object> JsonNullable<List<Object>> Pinned tweet IDs
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.