Skip to content

Repository files navigation

TCBFreshchatBotWidget

CI StatusVersionLicensePlatform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Usage

import TCBFreshchatBotWidget
@IBOutlet weak varwidgetView:TCBFreshchatBotWidgetView!
// set and call whenever needed
letclientData:[String:Any]=["name":"TCBFreshchatBotWidget User"]letbotWidget=TCBFreshchatBotWidget(clientHash:"d4980410f479d76eba5e00335eae38e8b04fd21e",
botHash:"f90f6dfa4d478848d045c31ac0493f730c8368fd",
showWidget:true,
clientData: clientData)
widgetView.loadWidget(withBotWidget: botWidget)
// or
// set bot widget with resource directory to use
widgetView.loadWidget(withBotWidget: botWidget,
in:.developerDirectory,
inDomain:.userDomainMask)

Requirements

Installation

TCBFreshchatBotWidget is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod'TCBFreshchatBotWidget',:git=>'https://github.com/TheCodingBug/TCBFreshchatBotWidget.git'

Author

Neil Francis Ramirez Hipona, nferocious76@gmail.com

License

TCBFreshchatBotWidget is available under the MIT license. See the LICENSE file for more info.

About

Freshchat Bot Web Widget for Freddy Self-service integration

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages