Closed devotebest closed 4 years ago
Hi!
Since this is the Programmable Chat JS SDK wrapped to Cordova plugin you should follow the documentation we are publishing for JS SDK. Here is the link to latest available JS SDK: http://media.twiliocdn.com/sdk/js/chat/releases/3.2.3/docs/
Aleksandrs
@aleksandrsivanovs thanks for your message. but I can't find document about "create channel", "send message", "receive message"
I will be very happy if you send link for that reference. thanks
create channel: http://media.twiliocdn.com/sdk/js/chat/releases/3.2.3/docs/Client.html#createChannel__anchor send message: http://media.twiliocdn.com/sdk/js/chat/releases/3.2.3/docs/Channel.html#sendMessage__anchor
and receiving it happening via the getMessages (pull model): http://media.twiliocdn.com/sdk/js/chat/releases/3.2.3/docs/Channel.html#getMessages__anchor
or via messageAdded
event (event-based model): http://media.twiliocdn.com/sdk/js/chat/releases/3.2.3/docs/Channel.html#event:messageAdded__anchor
we also have some quickstart to get started with Twilio Programmable Chat: https://www.twilio.com/docs/chat/javascript/quickstart
I got login success. I want to send message to cordova app user. Could you help how to send message?