forked from paked/messenger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile.go
21 lines (19 loc) · 849 Bytes
/
profile.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package messenger
// Profile is the public information of a Facebook user
type Profile struct {
Name string `json:"name"`
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
ProfilePicURL string `json:"profile_pic"`
Locale string `json:"locale"`
Timezone float64 `json:"timezone"`
Gender string `json:"gender"`
// instagram user profile
Username string `json:"username,omitempty"`
IsPrivate bool `json:"is_private,omitempty"`
//FollowCount int32 `json:"follow_count,omitempty"`
FollowedByCount int32 `json:"follower_count,omitempty"` // by the documentation followed_by_count
IsVerifiedUser bool `json:"is_verified_user"`
IsUserFollowBusiness bool `json:"is_user_follow_business"`
IsBusinessFollowUser bool `json:"is_business_follow_user"`
}