feat: Send and receive location

This commit is contained in:
Pedro Lopez
2020-02-08 00:46:08 -04:00
parent 4b1768450f
commit 7b229a39a4
8 changed files with 66 additions and 3 deletions

View File

@@ -123,6 +123,8 @@ client.on('message', async msg => {
client.sendMessage(msg.from, attachmentData, {caption: 'Here\'s your requested media.'});
}
} else if(msg.location) {
msg.reply(msg.location);
}
});