Flag / Unflag User feature is an essential tool for maintaining a safe and engaging chat community. With social.plus, you can use the flag and unflag user feature to allow moderators and administrators to monitor any inappropriate behavior within a chat channel. In this section, we will discuss how to use the flag and unflag user feature of social.plus Chat SDK to maintain a safe and engaging chat community.Documentation Index
Fetch the complete documentation index at: https://learn.social.plus/llms.txt
Use this file to discover all available pages before exploring further.
Flagging a user helps moderators identify potential issues without immediately taking action. It’s a reporting mechanism that requires admin review.
How User Flagging Works
Flag User
Report users for inappropriate behavior
Unflag User
Remove flags when issues are resolved
Check Status
Verify if you’ve flagged a specific user
Flag a User
To flag a user, call the following method:Unflag a User
To unflag a user, call the following method:Check Flagged By User
To check whether a user has been flagged by the current user:Best Practices
User Experience
User Experience
- Provide clear reasons for flagging options
- Show confirmation dialogs for flag actions
- Give feedback when flag operations complete
- Explain what happens when a user is flagged
Moderation Workflow
Moderation Workflow
- Train moderators on flag review processes
- Implement escalation procedures for serious violations
Error Handling
Error Handling
- Handle network failures gracefully
- Provide retry mechanisms for failed operations
- Log flag operations for debugging
- Show appropriate error messages to users
Next Steps
Get User Information
Learn how to retrieve user details and flag status
User Roles & Permissions
Understand user moderation privileges