This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
importPackage(android.content); | |
importPackage(android.app); | |
importClass(android.widget.Toast); | |
importClass(android.graphics.drawable.Icon); | |
const CHANNEL_ID = "call_owner"; | |
const ignoreActionName = "msgbot.call_owner.ignore";//그냥 시스템 전반적으로 유니크하게 하시면 됩니다. | |
const replyActionName="msgbot.call_owner.reply"; | |
const replyKey="key_reply"; | |
const bot = BotManager.getCurrentBot(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
importPackage(android.content); | |
importPackage(android.app); | |
const CHANNEL_ID = "test channel"; | |
const actionName="myawesomemsgbot.buttonClick";//그냥 시스템 전반적으로 유니크하게 하시면 됩니다. | |
const bot = BotManager.getCurrentBot(); | |
let receiver = new BroadcastReceiver({ | |
onReceive: function(ctx, intent){ | |
let action = intent.getAction(); | |
if(action.equals(actionName)){ | |
Log.info("btn click"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
우희희희희희희희멍서 | |
삭방빠싸박박나타빠추 | |
오오오오속어떠서써뻐 |