-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
45 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters