-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmessage-attachment-fallback-text.json
50 lines (49 loc) · 1.18 KB
/
message-attachment-fallback-text.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"headers": {
"host": "localhost",
"accept": "*/*",
"accept-encoding": "deflate, gzip",
"content-type": "application/json"
},
"body": {
"object": "page",
"entry": [{
"id": "514061682115264",
"time": 1469437728090,
"messaging": [{
"sender": {
"id": "10157033896470455"
},
"recipient": {
"id": "514061682115264"
},
"timestamp": 1469437728018,
"message": {
"mid": "mid.1469437727898:3d506401f2e7407653",
"seq": 2284,
"text": "https://developers.facebook.com/docs/messenger-platform/plugin-reference",
"attachments": [{
"title": "Plugin Reference - Messenger Platform - Documentation - Facebook for Developers",
"url": "https://developers.facebook.com/docs/messenger-platform/plugin-reference",
"type": "fallback",
"payload": null
}]
}
}]
}]
},
"+expected":
{
"plan": 14,
"entry": [{
"messaging": [{
"message": {
"type": "attachment",
"user": {
"id": "10157033896470455"
}
}
}]
}]
}
}