add new APIs
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
function on_resume()
|
||||
ui:show_lines{
|
||||
"send text",
|
||||
"send 123",
|
||||
"send table",
|
||||
"send text to msg-receiver.lua script",
|
||||
"send 123 to all",
|
||||
"send table to all",
|
||||
}
|
||||
end
|
||||
|
||||
@@ -10,7 +10,7 @@ function on_click(idx)
|
||||
if idx == 1 then
|
||||
aio:send_message("text", "msg-receiver.lua")
|
||||
elseif idx == 2 then
|
||||
aio:send_message(1)
|
||||
aio:send_message(123)
|
||||
else
|
||||
aio:send_message{ "one", "two", "three" }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user