Open krasnyd opened 5 years ago
I've already figured it out.
convo.ask({
...
}, (payload, convo) => {
...
}, [
{
event: 'attachment',
callback: (payload, convo) => {
const text = payload.message.attachments[0].payload["coordinates"];
console.log(text);
console.log("Lat: "+text.lat);
console.log("Long: "+text.long);
convo.end();
}
}
]);
Hi. Messenger allows the user to send their current location. Is there any option to read it by Bootbot? Thank you for your answer.