We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1f6c7ba + 94e679b commit e0f9fa5Copy full SHA for e0f9fa5
twitter4j-v2-support/src/main/kotlin/twitter4j/User2.kt
@@ -22,14 +22,16 @@ data class User2(
22
val followersCount: Int,
23
val followingCount: Int,
24
val tweetCount: Int,
25
- val listedCount: Int
+ val listedCount: Int,
26
+ val likeCount: Int
27
) {
28
29
constructor(json: JSONObject) : this(
30
followersCount = ParseUtil.getInt("followers_count", json),
31
followingCount = ParseUtil.getInt("following_count", json),
32
tweetCount = ParseUtil.getInt("tweet_count", json),
- listedCount = ParseUtil.getInt("listed_count", json)
33
+ listedCount = ParseUtil.getInt("listed_count", json),
34
+ likeCount = ParseUtil.getInt("like_count", json)
35
)
36
37
}
0 commit comments