Category
App
Getting Started (Tutorial)
Hello, world! ๐ Welcome to Channelโs App-server Development Tutorial! This document allows you to do the following: - A quick understanding of the App Store - App-server development - App installation - Testing the app This document provides an overview of the App Store and its sub-concepts. Find more information on the development guide for each item. (โ Authentication) (โ Function) (โ Command) (โ WAM) Check the app-tutorial for the code inserted in the document. What is App Store --- Now, evenAuthentication
You must issue App Secret before issuing jwt token to use channel APIs. Follow below sequences from App config - Authentication & Authorization in Channel Development Portal. 1. Issuing App Secret --- Click Issue button located on the top of the App Settings page. Be careful not to expose issued secret. Previously issued secret will be invalidated if you refresh it. 2. Registering App Permissions --- You must select the Functions you want to use on each sections: Channel, User, Manager. See hereFunction
1. What is Function --- A Function is an API(specified by ChannelTalk) used to request features of an App. All requests to an app follow the Function schema 2. Function Handling --- A Function sends HTTP PUT requests to the Function Endpoint , which is registered to an app. You can register the Function Endpoint in [App Settings] - [General Settings] - [Server Settings] . Additionally, you can generate a Signing Key to check the validity of a request(whether if it came from ChannelTalk). Your apCommand
What is Command Command is a function that can be used by user or manager and is also a wrapper of function. When command is called through the App Store, the App Store calls function internally registered in the command. You could register multiple commands in one app, each of which matches the function 1:1. How to Register a Command --- The command consists of the following fields. { "name" : "commandName", "scope" : "desk", "description": "this is test command", "nameDescI18nMap": { "en": { "WAM
What is WAM If your function or command requires user interaction or needs to show specific information to the user, you can create and use a Web Application Module (WAM). WAM should be implemented as a single-page application (SPA). The library, framework, bundler, etc. for implementing WAM is the developer's choice, and any choice is fine. You can register WAMs by making them serve on a sub-endpoint of your app server domain and entering the endpoint URL in the 'WAM Endpoint' field in the app