iFlyChat
Home
GitHub
Dashboard
Search…
iFlyChat
Documentation
Installation
WordPress
Embed Chatroom in WordPress Post
Disable Popup Chat
Hide Popup Chat from a Page
Embed Inbox View
View Chat Logs
Guest User Access
Show/Hide Popup Chat On Specific Pages
WordPress Filters and Hooks
API Reference
Create a new chat room
Retrieve list of all chat rooms
Edit a chat room
Retrieve list of all online users
Kick a user from the chat
Retrieve list of all users online in a chat room
Delete a chat room
Retrieve Thread History
JavaScript SDK
Quickstart
Custom Label In Chat Window
User Chat Button Widget
Reference
message receive
message send
user list update
connect
disconnect
ready
iflychat.startChat
iflychat.closeChat
iflychat.minimiseChat
iflychat.init
iflychat.setStatus
iflychat.sound
iflychat.openAdminDashboard
current user status update
current user sound update
iflychat.renderLabelInChatWindow
Help
General
Embedded Chatroom
Feature Description
Chat Moderation
Powered By
GitBook
current user sound update
iFlyChat JavaScript SDK fires an event named '
current-user-sound-update
' whenever sound notification is switched on or off for current user. You may bind to this event in following manner:
iflychat
.
on
(
'current-user-sound-update'
,
function
(
message
)
{
/* your code here - message object contains information about if sound is switched on or off */
});
Here message is a JS object with following properties:
id
sound
Possible values of sound:
true - Sound is on/ Unmute
false - Sound is Off/ Mute
Previous
current user status update
Next
iflychat.renderLabelInChatWindow
Last modified
2yr ago
Copy link