Closed EwanValentine closed 8 years ago
I've just been looking at the docs https://developers.facebook.com/docs/messenger-platform/webhook-reference#received_message
In the message received event, shouldn't the attachment field be something like this?
type Message struct {
Text string `json:"text,omiempty"`
Attachments []*Attachment `json:"attachments,omitempty"`
}
Fixed as of 0903473abb5e533738bc7b5870c3b7bc99ee4893
Hi there,
I'm attempting to get file attachments, but it doesn't seem to be present in the message event.
The trouble is...
msg.Message.Attachment
is alwaysnil