YmChat class

Constructors

YmChat()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

closeBot() Future<bool>
getUnreadMessages(void successCallback(String), void failureCallback(dynamic)) Future
registerDevice(String apiKey, void successCallback(bool), void failureCallback(dynamic)) Future
reloadBot() Future<bool>
revalidateToken(String token, bool refreshSession) Future<bool>
sendEventToBot(String code, Map<String, Object> data) Future<bool>
setAuthenticationToken(String authenticationToken) Future<bool>
setBotId(String botId) Future<bool>
setCloseButtonColor(String color) Future<bool>
setCustomLoaderURL(String customURL) Future<bool>
setCustomURL(String customURL) Future<bool>
setDeviceToken(String deviceToken) Future<bool>
setDisableActionsOnLoad(bool shouldDisableActionsOnLoad) Future<bool>
setEnableSpeech(bool shouldEnableSpeech) Future<bool>
setMicBackgroundColor(String color) Future<bool>
setMicIconColor(String color) Future<bool>
setPayload(Map<String, Object> payload) Future<bool>
setStatusBarColor(String color) Future<bool>
setThemeBotClickIcon(String iconUrl) Future<bool>
setThemeBotDescription(String description) Future<bool>
setThemeBotIcon(String iconUrl) Future<bool>
setThemeBotName(String name) Future<bool>
setThemePrimaryColor(String color) Future<bool>
setThemeSecondaryColor(String color) Future<bool>
setVersion(int version) Future<bool>
showCloseButton(bool shouldEnableCloseButton) Future<bool>
startChatbot() Future<bool>
unLinkDeviceToken(String apiKey, void successCallback(), void failureCallback(dynamic)) Future<void>
useLiteVersion(bool shouldUseLiteVersion) Future<bool>
useSecureYmAuth(bool shouldUseSecureYmAuth) Future<bool>