Skip to content
This repository was archived by the owner on Jan 1, 2023. It is now read-only.

Commit 1145fe3

Browse files
mangalaman93Aman Mangal
authored and
Aman Mangal
committed
Update timezone to be of float type
Reference: https://developers.facebook.com/docs/graph-api/reference/user Fixes #23
1 parent 87975a1 commit 1145fe3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

profile.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ package messenger
22

33
// Profile is the public information of a Facebook user
44
type Profile struct {
5-
FirstName string `json:"first_name"`
6-
LastName string `json:"last_name"`
7-
ProfilePicURL string `json:"profile_pic"`
8-
Locale string `json:"locale"`
9-
Timezone int `json:"timezone"`
10-
Gender string `json:"gender"`
5+
FirstName string `json:"first_name"`
6+
LastName string `json:"last_name"`
7+
ProfilePicURL string `json:"profile_pic"`
8+
Locale string `json:"locale"`
9+
Timezone float64 `json:"timezone"`
10+
Gender string `json:"gender"`
1111
}

0 commit comments

Comments
 (0)