![](/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.