Chat APIs and In-app Messaging SDKs for Developers, by Developers

Applozic powers multi-platform Chat APIs and in-app Messaging SDKs for Android, iOS and the Web that will enable you to build advanced in-app chat solutions your users will love.

Integrate chat in your application with completely customizable UI kits, powerful messaging APIs and SDKs, developed with exceptional security measures in mind.

Documentation    API Explorer

Questions

Ask A Question
1

Group Update API not working

I have used applozic web chat . but when i update the group it does not update the group and i have used following api function: $applozic.fn.applozic('updateGroupInfo', {'groupId' : groupId 'clientGroupId' : clientGroupId, //use either groupId or clientGroupId, 'name' : groupName, // optional 'imageUrl' : '', //optional 'users': [ // required only if want to update user role { userId:userIdToUpdate, // required role:3, // (required) USER(0), ADMIN(1), MODERATOR(2), MEMBER(3) }], 'callback' : function(response){console.log(response);}}); *************But got following error:************************************ core.js?09c9:14576 ERROR TypeError: Cannot set property 'innerHTML' of null at Object.MckGroupLayout._this.onUpdateGroupInfo [as apzCallback] (applozic.plugin-1.0.js:6969) at Object.success (applozic.plugin-1.0.js:13) at Object.success (applozic.plugin-1.0.js:13) at XMLHttpRequest.aq.onreadystatechange [as __zone_symbol__ON_PROPERTYreadystatechange] (applozic.plugin-1.0.js:13) at XMLHttpRequest.wrapFn (zone.js?d135:1188) at ZoneDelegate.invokeTask (zone.js?d135:421) at Object.onInvokeTask (core.js?09c9:16126) at ZoneDelegate.invokeTask (zone.js?d135:420) at Zone.runTask (zone.js?d135:188) at ZoneTask.invokeTask [as invoke] (zone.js?d135:496) defaultErrorLogger @ core.js?09c9:14576 ErrorHandler.handleError @ core.js?09c9:14624 next @ core.js?09c9:16607 schedulerFn @ core.js?09c9:12588 SafeSubscriber.__tryOrUnsub @ Subscriber.js?1453:196 SafeSubscriber.next @ Subscriber.js?1453:134 Subscriber._next @ Subscriber.js?1453:77 Subscriber.next @ Subscriber.js?1453:54 Subject.next @ Subject.js?2bd2:47 EventEmitter.emit @ core.js?09c9:12572 (anonymous) @ core.js?09c9:16157 ZoneDelegate.invoke @ zone.js?d135:388 Zone.run @ zone.js?d135:138 NgZone.runOutsideAngular @ core.js?09c9:16094 onHandleError @ core.js?09c9:16157 ZoneDelegate.handleError @ zone.js?d135:392 Zone.runTask @ zone.js?d135:191 ZoneTask.invokeTask @ zone.js?d135:496 invokeTask @ zone.js?d135:1540 globalZoneAwareCallback @ zone.js?d135:1566 XMLHttpRequest.send (async) scheduleTask @ zone.js?d135:2969 ZoneDelegate.scheduleTask @ zone.js?d135:407 onScheduleTask @ zone.js?d135:297 ZoneDelegate.scheduleTask @ zone.js?d135:401 Zone.scheduleTask @ zone.js?d135:232 Zone.scheduleMacroTask @ zone.js?d135:255 scheduleMacroTaskWithCurrentZone @ zone.js?d135:1114 (anonymous) @ zone.js?d135:3001 proto.<computed> @ zone.js?d135:1394 U.ajax @ applozic.plugin-1.0.js:13 U.groupUpdate @ applozic.plugin-1.0.js:13 MckGroupService.j.updateGroupInfo @ applozic.plugin-1.0.js:13 Applozic._this.updateGroupInfo @ applozic.plugin-1.0.js:1563 $applozic.fn.applozic @ applozic.plugin-1.0.js:272 (anonymous) @ applozicChat.service.ts?fadd:93 ApplozicChatService.updateGropChat @ applozicChat.service.ts?fadd:103 success @ applozicChat.service.ts?fadd:27 success @ applozic.plugin-1.0.js:13 aq.onreadystatechange @ applozic.plugin-1.0.js:13 wrapFn @ zone.js?d135:1188 ZoneDelegate.invokeTask @ zone.js?d135:421 onInvokeTask @ core.js?09c9:16126 ZoneDelegate.invokeTask @ zone.js?d135:420 Zone.runTask @ zone.js?d135:188 ZoneTask.invokeTask @ zone.js?d135:496 invokeTask @ zone.js?d135:1540 globalZoneAwareCallback @ zone.js?d135:1566 XMLHttpRequest.send (async) scheduleTask @ zone.js?d135:2969 ZoneDelegate.scheduleTask @ zone.js?d135:407 onScheduleTask @ zone.js?d135:297 ZoneDelegate.scheduleTask @ zone.js?d135:401 Zone.scheduleTask @ zone.js?d135:232 Zone.scheduleMacroTask @ zone.js?d135:255 scheduleMacroTaskWithCurrentZone @ zone.js?d135:1114 (anonymous) @ zone.js?d135:3001 proto.<computed> @ zone.js?d135:1394 U.ajax @ applozic.plugin-1.0.js:13 U.getGroupInfo @ applozic.plugin-1.0.js:13 (anonymous) @ applozicChat.service.ts?fadd:21 ApplozicChatService.openGroupChat @ applozicChat.service.ts?fadd:36 ClientProfileComponent.openGroupChat @ client-profile.compenent.ts?ed1c:193 (anonymous) @ ClientProfileComponent.html:1 handleEvent @ core.js?09c9:21652 callWithDebugContext @ core.js?09c9:22746 debugHandleEvent @ core.js?09c9:22449 dispatchEvent @ core.js?09c9:19101 (anonymous) @ core.js?09c9:19548 (anonymous) @ platform-browser.js?6588:993 ZoneDelegate.invokeTask @ zone.js?d135:421 onInvokeTask @ core.js?09c9:16126 ZoneDelegate.invokeTask @ zone.js?d135:420 Zone.runTask @ zone.js?d135:188 ZoneTask.invokeTask @ zone.js?d135:496 invokeTask @ zone.js?d135:1540 globalZoneAwareCallback @ zone.js?d135:1566

Posted by sp 2 years ago