Chat Android v4
Chat Android
Chat
Android
Version 4
Home
/
Chat
/
Android
/
User
Operators of an open or group channel can restrict selected users from sending messages to the channel using the mute feature. A muted user remains in the channel and is allowed to view the messages but they can't send any messages to the channel until the operators unmute them. Operators can mute and unmute users using the following code.
Note: For both open and group channels, you can also pass the unique ID of a user as a parameter instead of
USER
to mute or unmute using themuteUser(String)
andunmuteUser(String)
methods. These methods perform the same actions as themuteUser(USER)
andunmuteUser(USER)
methods.