AmityCommunityModeration

Functions

Link copied to clipboard
fun addMembers(userIds: List<String>): Completable

add members to a community

Link copied to clipboard
fun addRoles(roles: List<String>, userIds: List<String>): Completable

add roles to members in a community

Link copied to clipboard
fun banMembers(userIds: List<String>): Completable

ban community members

Link copied to clipboard
fun removeMembers(userIds: List<String>): Completable

remove members from a community

Link copied to clipboard
fun removeRoles(roles: List<String>, userIds: List<String>): Completable

remove roles to members in a community

Link copied to clipboard
fun unbanMembers(userIds: List<String>): Completable

unban community members