Chat Android v4
Chat Android
Chat
Android
Version 4
Home
/
Chat
/
Android
/
User
Operators of an open or group channel can remove any users that behave inappropriately in the channel using the ban feature. A banned user is immediately kicked out of the channel, but allowed to participate in the channel again after a set period of time has passed. Operators can ban and unban 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 ban or unban using thebanUser()
andunbanUser()
methods. These methods perform the same actions as thebanUser()
andunbanUser()
methods.