1
0
mirror of synced 2024-11-25 14:26:09 +03:00
messenger/profile.go
Bruce Fitzsimons de3a5d0949 Add Read event support. Update description of Delivered events (#7)
* Added Read message support
Delivered message suppport already existed but was commented as
indicating that a message was read by a user. As of the 1 July
2016 API release this isn't true, there is another event. This
commit adds read event support and corrects the description of
delivered events. Also added to the example bot.

* go fmt

* Added new profile fields from July 1st API update

* gofmt
2016-08-18 09:41:25 +10:00

12 lines
341 B
Go

package messenger
// Profile is the public information of a Facebook user
type Profile struct {
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
ProfilePicURL string `json:"profile_pic"`
Locale string `json:"locale"`
Timezone int `json:"timezone"`
Gender string `json:"gender"`
}