One of the most powerful features of the CloudRadial Chat platform is the ability to create and share custom chatops commands. The language we developed to build these commands is called ChannelScript.
About ChannelScript
ChannelScript is a modified version of JavaScript, or more specifically, ECMAScript. It currently supports all ECMAScript 3 and ECMAScript 5 features, but it adds capabilities to make it easy to connect to systems like your PSA, databases, web services, and other systems you want to connect using chatops.
ChannelScript Examples
Here is the simplest block of ChannelScript you can use to build a chatops command:
Chat.sendText('Hello world!');
That sends a message back to the source of the chatops command saying “Hello world!”.
Comments
0 comments
Article is closed for comments.