de3a5d0949
* 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
12 lines
341 B
Go
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"`
|
|
}
|