chatmix-cli
v0.0.88
Published
ChatMix Messenger Live Chat
Readme
Absolute - ChatMix - React SDK lib
This package contains a set of ready-to-use React components to integrate your Telegram messenger live chat.
Install
npm install --save chatmix-cliComponents
Built-in Components
Name|Description
----|-----------
ChatMix| messenger live chat integration
Raw Components
Name|Description
----|-----------
ChatMixConversationProvider| provides functionalities to retrieve conversation data from the chatmix server
ChatMixConversationView| shows retrieved data and allows users to edit conversation details
ChatMixMessagesProvider| provides functionalities to retrieve messages data from the chatmix server
ChatMixMessagesView| shows retrieved data and allows admin users to read and send messages
ChatMixSetupProvider| provides functionalities to retrieve account data from the chatmix server
ChatMixSetupView| shows retrieved data and allows admin users to handle its own account
Setup Usage
import {ChatMix} from 'chatmix-cli'
function ExampleApp(){
const options = {
setup: true, //chatmix setup mode
disabled: true //disable setup button
}
return (
<ChatMix accessUrl="https://company.hosts.chatmix.it" requestToken={"access token function"} options={options}/>
)
}Basic Usage
import {ChatMix} from 'chatmix-cli'
function ExampleApp(){
return (
<ChatMix accessUrl="https://company.hosts.chatmix.it" requestToken={"access token function"}/>
)
}