You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// A client that can be used to access moderation endpoints of a Stream Chat application.
8
+
/// </summary>
9
+
publicinterfaceIModerationClient
10
+
{
11
+
/// <summary>
12
+
/// Check content for moderation.
13
+
/// </summary>
14
+
/// <param name="entityType">Type of entity to be checked E.g., stream:user, stream:chat:v1:message, or any custom string. Predefined values are listed in <see cref="ModerationEntityTypes"/></param>
15
+
/// <param name="entityId">ID of the entity to be checked. This is mainly for tracking purposes</param>
16
+
/// <param name="entityCreatorId">ID of the entity creator</param>
17
+
/// <param name="moderationPayload">Content to be checked for moderation. E.g., texts, images, videos</param>
18
+
/// <param name="configKey">Configuration key for moderation</param>
19
+
/// <param name="options">Additional options for moderation check</param>
20
+
Task<ModerationCheckResponse>CheckAsync(
21
+
stringentityType,
22
+
stringentityId,
23
+
stringentityCreatorId,
24
+
ModerationPayloadmoderationPayload,
25
+
stringconfigKey,
26
+
ModerationCheckOptionsoptions=null);
27
+
28
+
/// <summary>
29
+
/// Experimental: Check user profile for moderation.
30
+
/// This will not create any review queue items for the user profile.
31
+
/// You can use this to check whether to allow certain user profile to be created or not.
32
+
/// </summary>
33
+
/// <param name="userId">ID of the user</param>
34
+
/// <param name="profile">User profile data containing username and/or profile image</param>
0 commit comments