我在我的树莓派上运行一个小电报机器人
telegram-cli -W -s recieve.lua
这是我的 lua 文件的片段:
function on_msg_receive (msg)
if msg.text == nil then
return
end
if string.sub(msg.text, 0, 1) ~= "/" then
return
end
mark_read(msg.from.print_name)
end
但是消息没有标记为已读,也许命令不正确?