BytedeskKefu class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Static Methods
-
anonymousLogin(String appKey, String subDomain)
→ void
-
-
anonymousLogin2()
→ void
-
-
bindMobile(String mobile)
→ Future<JsonResult>
-
-
bindWeChatMobile(String mobile, String unionid)
→ Future<UserJsonResult>
-
-
checkAppVersion(String androidKey, String iosKey)
→ Future<App>
-
-
checkAppVersion2(String flutterKey)
→ Future<App>
-
-
connect()
→ bool
-
-
deleteIOSDeviceToken(String build)
→ Future<void>
-
-
disconnect()
→ void
-
-
getAgentStatus(String agentUid)
→ Future<String>
-
-
getAliyunOneKeyLoginMobile(String token)
→ Future<String>
-
-
getAppBuildNumber()
→ Future<String>
-
-
getAppVersion()
→ Future<String>
-
-
getPlayAudioOnReceiveMessage()
→ bool?
-
-
getPlayAudioOnSendMessage()
→ bool?
-
-
getProfile()
→ Future<User>
-
-
getUnreadCount(String wid)
→ Future<String>
-
-
getUnreadCountAgent()
→ Future<String>
-
-
getUnreadCountVisitor()
→ Future<String>
-
-
getVibrateOnReceiveMessage()
→ bool?
-
-
getVisitorThreads(int page, int size)
→ Future<List<Thread>>
-
-
getWechatUserinfo(String code)
→ Future<WeChatResult>
-
-
getWorkGroupStatus(String workGroupWid)
→ Future<String>
-
-
init(String appKey, String subDomain)
→ void
-
-
initWithUsername(String username, String appKey, String subDomain)
→ void
-
-
initWithUsernameAndNickname(String username, String nickname, String appKey, String subDomain)
→ void
-
-
initWithUsernameAndNicknameAndAvatar(String username, String nickname, String avatar, String appKey, String subDomain)
→ void
-
-
isAuthenticated()
→ bool?
-
-
isConnected()
→ bool
-
-
isLogin()
→ bool
-
-
login(String username, String password, String appkey, String subDomain, String role)
→ void
-
-
loginVisitor(String username, String password, String appkey, String subDomain)
→ void
-
-
logout()
→ Future<void>
-
-
openWebView(BuildContext context, String url, String title)
→ void
-
-
otherOAuth()
→ void
-
-
reconnect()
→ bool
-
-
registerWechatMobile(String mobile, String nickname, String avatar, String unionid, String openid)
→ Future<UserJsonResult>
-
-
setPlayAudioOnReceiveMessage(bool flag)
→ void
-
-
setPlayAudioOnSendMessage(bool flag)
→ void
-
-
setVibrateOnReceiveMessage(bool flag)
→ void
-
-
showAppointedLeaveMessage(BuildContext context, String aid, String tip)
→ void
-
-
showFaq(BuildContext context, String uid, String title)
→ void
-
-
showFeedback(BuildContext context, String uid)
→ void
-
-
showLeaveMessage(BuildContext context, String wid, String aid, String type, String tip)
→ void
-
-
showLeaveMessageHistory(BuildContext context, String wid, String aid, String type)
→ void
-
-
showTicket(BuildContext context, String uid)
→ void
-
-
showWorkGroupLeaveMessage(BuildContext context, String wid, String tip)
→ void
-
-
startAppointedChat(BuildContext context, String uid, String title)
→ void
-
-
startAppointedChatPostscript(BuildContext context, String uid, String title, String postScript)
→ void
-
-
startAppointedChatShop(BuildContext context, String uid, String title, String commodity)
→ void
-
-
startAppointedChatShopCallback(BuildContext context, String uid, String title, String commodity, ValueSetter<String> customCallback)
→ void
-
-
startChat(BuildContext context, String uuid, String type, String title, String commodity, String postScript, bool isV2Robot, ValueSetter<String>? customCallback)
→ void
-
-
startChatDefault(BuildContext context, String uuid, String type, String title, bool isV2Robot)
→ void
-
-
startChatPostscript(BuildContext context, String uuid, String type, String title, String postScript)
→ void
-
-
startChatShop(BuildContext context, String uuid, String type, String title, String commodity, ValueSetter<String>? customCallback)
→ void
-
-
startChatThread(BuildContext context, Thread thread, {String title = ''})
→ void
-
-
startChatThreadIM(BuildContext context, Thread thread)
→ void
-
-
startContactChat(BuildContext context, String cid, String title)
→ void
-
-
startH5Chat(BuildContext context, String url, String title)
→ void
-
-
startWorkGroupChat(BuildContext context, String wid, String title)
→ void
-
-
startWorkGroupChatPostscript(BuildContext context, String wid, String title, String postScript)
→ void
-
-
startWorkGroupChatShop(BuildContext context, String wid, String title, String commodity)
→ void
-
-
startWorkGroupChatShopCallback(BuildContext context, String wid, String title, String commodity, ValueSetter<String> customCallback)
→ void
-
-
startWorkGroupChatV2Robot(BuildContext context, String wid, String title)
→ void
-
-
unionidOAuth(String unionid)
→ void
-
-
updateAvatar(String avatar)
→ Future<User>
-
-
updateDescription(String description)
→ Future<User>
-
-
updateNickname(String nickname)
→ Future<User>
-
-
updateProfile(String nickname, String avatar, String description)
→ Future<User>
-
-
uploadIOSDeviceToken(String appkey, String deviceToken)
→ Future<void>
-
-
userLogin(String username, String password, String appkey, String subDomain)
→ void
-
-
visitorLogin(String username, String appkey, String subDomain)
→ void
-