Last active
October 29, 2018 12:52
-
-
Save RiceeeChang/c3b6262aba3e859640a195b8df035d00 to your computer and use it in GitHub Desktop.
Messenger Chatbot messenger with image attachment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": <image|audio|video|file|template>, | |
"payload": <PAYLOAD> | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"attachment":{ | |
"type": "image", | |
"payload":{ | |
"url": "http://www.messenger-rocks.com/image.jpg", | |
"is_reusable": true | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"text": <TEXT>, | |
"attachment": <ATTACHMENT>, | |
"quick_replies": <QUICK_REPLIES> | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"messaging_type": <messaging_type>, | |
"recipient": { | |
"id": <SENDER_PSID> | |
}, | |
"message": <MESSAGE> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment