feat: Send and receive location
This commit is contained in:
parent
4b1768450f
commit
7b229a39a4
1 changed files with 66 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue