Package io.getstream.chat.android.models
Object ModerationAction.Companion
-
- All Implemented Interfaces:
public class ModerationAction.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final ModerationActionbounceprivate final ModerationActionremoveprivate final ModerationActionflagpublic final static ModerationAction.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final ModerationActionfromValue(String value)Creates a ModerationAction from a raw value. final ModerationActiongetBounce()Action 'bounce' - the message needs to be rephrased and sent again. final ModerationActiongetRemove()Action 'remove' - the message was removed by moderation policies. final ModerationActiongetFlag()Action 'flag' - the message was sent for review in the dashboard but it was still published. -
-
Method Detail
-
fromValue
final ModerationAction fromValue(String value)
Creates a ModerationAction from a raw value.
-
getBounce
final ModerationAction getBounce()
Action 'bounce' - the message needs to be rephrased and sent again.
-
getRemove
final ModerationAction getRemove()
Action 'remove' - the message was removed by moderation policies.
-
getFlag
final ModerationAction getFlag()
Action 'flag' - the message was sent for review in the dashboard but it was still published.
-
-
-
-