Channel Developers

thumbnail
Category

API Reference

API Reference

ChannelIO

This page describes ChannelIO of the Channel Talk React Native SDK (hereafter refer to SDK).) boot Loads the information needed to use the SDK. After a successful boot, you are ready to use the features of SDK. See boot for details. Parameter required Description bootConfig O A boot configuration. You can set the plugin key and position of Channel button, etc. bootCallback X A callback from boot. It returns bootStatus and User. const config = { "pluginKey": YOUR_PLUGIN_KEY, "memberId": MEMBER_ID
ChannelIO

Callbacks

This page describes callbacks of Channel Talk React Native SDK (hereafter referred to as SDK). onShowMessenger Invoked when the messenger is shown. Examples are the following: - calls showMessenger - calls openChat - When the user opens messenger through Channel button ChannelIO.onShowMessenger(() => { }); onHideMessenger Invoked when the messenger is hidden. Examples are the following: - calls hideMessenger - calls sleep - calls shutdown - When the user closes messenger explicitly, such as by c
Callbacks

Models

This page describes Model of the Channel Talk React Native SDK (hereafter referred to as SDK). BootConfig Configures option for ChannelIO.boot. This model is used as a parameter for the boot method. For the example, See QuickStart. field type description pluginKey string Plugin Key of Channel. memberId (optional) string An identifier to distinguish each member user. memberHash (optional) string A HMAC-SHA256 value of memberId. See enabling [member hash](doc:member-hash). profile (optional) Profi
Models