-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.go
32 lines (31 loc) · 1.08 KB
/
profile.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package threads_api
type UserProfileData struct {
Data struct {
UserData struct {
User struct {
IsPrivate bool `json:"is_private"`
ProfilePicURL string `json:"profile_pic_url"`
Username string `json:"username"`
HdProfilePicVersions []struct {
Height int `json:"height"`
URL string `json:"url"`
Width int `json:"width"`
} `json:"hd_profile_pic_versions"`
IsVerified bool `json:"is_verified"`
Biography string `json:"biography"`
BiographyWithEntities any `json:"biography_with_entities"`
FollowerCount int `json:"follower_count"`
ProfileContextFacepileUsers any `json:"profile_context_facepile_users"`
BioLinks []struct {
URL string `json:"url"`
} `json:"bio_links"`
Pk string `json:"pk"`
FullName string `json:"full_name"`
ID any `json:"id"`
} `json:"user"`
} `json:"userData"`
} `json:"data"`
Extensions struct {
IsFinal bool `json:"is_final"`
} `json:"extensions"`
}