![](/img/trans.png)
[英]Unhandled rejection Error: ETELEGRAM: 400 Bad Request: message text is empty
[英]ETELEGRAM: 400 Bad Request: there is no live location in the message to edit
我想将我的实时位置发送给电报机器人用户,我收到此错误:
ETELEGRAM:400错误的请求:消息中没有实时位置要编辑
我应该如何解决?
模块: ( https://github.com/yagop/node-telegram-bot-api )
码:
bot.on('callback_query', msg => {
if (msg.data == `ourlivelocation`) {
bot.editMessageLiveLocation(32.2624884, 53.4246188, {
parse_mode: 'Markdown',
message_id: msg.message.message_id,
chat_id: msg.message.chat.id,
reply_markup: {
inline_keyboard: livelocationKeyboard
}
});
}
});
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.