Skip to content

Instantly share code, notes, and snippets.

@azenla
Created December 5, 2015 23:49
Show Gist options
  • Save azenla/aa200f2fb7e2f4976d94 to your computer and use it in GitHub Desktop.
Save azenla/aa200f2fb7e2f4976d94 to your computer and use it in GitHub Desktop.
{
"$is": "channel",
"sendMessage": {
"$invokable": "write",
"$params": [
{
"name": "message",
"type": "string"
}
]
},
"message": {
"$type": "map"
},
"users": {
"$multiple": "user"
}
}
{
"channels": {
"$multiple": "channel"
},
"connect": {
"$invokable": "write",
"$params": {}
},
"disconnect": {
"$invokable": "write",
"$params": {}
}
}
{
"username": {
"$type": "string"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment