我怎么发送电报机器人现场?
我正在使用node-telegram-bot-api模块。
代码:
这个代码只发送一个位置
await bot.sendLocation(msg.chat.id, 35.804819, 51.434070);发布于 2017-12-25 14:38:42
解决了。
bot.onText(/\/livelocation/, async msg => {
await bot.sendLocation(msg.chat.id, 35.804819, 51.434070, {
live_period: 86400,
});
});https://stackoverflow.com/questions/46994056
复制相似问题