Target account ID
Whether the account is included in the blocklist or the list of muted members.
true: Yes, false: No.
Details of the operation record
Target account ID
Update timestamp
Add to the list of muted members. The onmutelist callback is triggered during initialization and onsyncmarkinmutelist triggered during synchronization across devices.
Target account ID
Whether the account is included in the blocklist or the list of muted members.
true: Yes, false: No.
Details of the operation record
Target account ID
Update timestamp
Get the blocklist and list of muted members. If you set syncRelations to false when initializing the SDK, you cannot get notified by the onblacklist and onmutelist callbacks. In this case, you can call this interface to get the blocklist and the list of muted members.
Get the user profile
Account ID
Whether to get the account from the server. The default value is false
Get it from the server if it is true, and get it from the information cached in the local database if it is false.
Get user profiles. Up to 150 profiles can be retrieved at a time.
List of account IDs
Whether to get the account from the server. The default value is false
Get it from the server if it is true, and get it from the information cached in the local database if it is false.
Check if a user is in the blocklist
Note: This interface requires database support. If the local database is not enabled, the done callback will return false
Remove from blocklist The onblacklist callback is triggered during initialization and onsyncmarkinblacklist triggered during synchronization across devices.
Target account ID
Whether the account is included in the blocklist or the list of muted members.
true: Yes, false: No.
Details of the operation record
Target account ID
Update timestamp
Remove from the list of muted users. The onmutelist callback is triggered during initialization and onsyncmarkinmutelist triggered during synchronization across devices.
The list of muted users:
Target account ID
Whether the account is included in the blocklist or the list of muted members.
true: Yes, false: No.
Details of the operation record
Target account ID
Update timestamp
Update the profile of the current user. The onmyinfo callback is triggered during initialization and onupdatemyinfo triggered during synchronization across devices.
Business ID for moderation
avatar
Date of birth
Extension field
Gender
Nickname
Signature
Phone number
Add to the blocklist The onblacklist callback is triggered during initialization and onsyncmarkinblacklist triggered during synchronization across devices.
Example