@@ -3,20 +3,21 @@ package resources
3
3
import "time"
4
4
5
5
type User struct {
6
- ID * string `json:"id"`
7
- Name * string `json:"name"`
8
- Username * string `json:"username"`
9
- CreatedAt * time.Time `json:"created_at,omitempty"`
10
- Description * string `json:"description,omitempty"`
11
- Entities * UserEntities `json:"entities,omitempty"`
12
- Location * string `json:"location,omitempty"`
13
- PinnedTweetID * string `json:"pinned_tweet_id,omitempty"`
14
- ProfileImageURL * string `json:"profile_image_url,omitempty"`
15
- Protected * bool `json:"protected,omitempty"`
16
- PublicMetrics * UserPublicMetrics `json:"public_metrics,omitempty"`
17
- URL * string `json:"url,omitempty"`
18
- Verified * bool `json:"verified,omitempty"`
19
- Withheld * UserWithheld `json:"withheld,omitempty"`
6
+ ID * string `json:"id"`
7
+ Name * string `json:"name"`
8
+ Username * string `json:"username"`
9
+ CreatedAt * time.Time `json:"created_at,omitempty"`
10
+ Description * string `json:"description,omitempty"`
11
+ Entities * UserEntities `json:"entities,omitempty"`
12
+ Location * string `json:"location,omitempty"`
13
+ PinnedTweetID * string `json:"pinned_tweet_id,omitempty"`
14
+ ProfileImageURL * string `json:"profile_image_url,omitempty"`
15
+ Protected * bool `json:"protected,omitempty"`
16
+ PublicMetrics * UserPublicMetrics `json:"public_metrics,omitempty"`
17
+ URL * string `json:"url,omitempty"`
18
+ Verified * bool `json:"verified,omitempty"`
19
+ Withheld * UserWithheld `json:"withheld,omitempty"`
20
+ MostRecentTweetID * string `json:"most_recent_tweet_id,omitempty"`
20
21
}
21
22
22
23
type UserEntities struct {
0 commit comments