Last active
May 28, 2019 02:54
-
-
Save KimGenius/62df46b0ba6578f12bed88bcfc95d6af to your computer and use it in GitHub Desktop.
This file contains 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
send({ | |
text: 'Hello World!', | |
to: '01000000000', | |
from: '01000000000' | |
}) | |
async function send (message, agent = {}) { | |
try { | |
console.log(await Group.sendSimpleMessage(message, agent)) | |
} catch (e) { | |
console.log(e) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment