Package io.getstream.chat.android.models
Object MessageModerationAction.Companion
-
- All Implemented Interfaces:
public class MessageModerationAction.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final MessageModerationActionbounceprivate final MessageModerationActionflagprivate final MessageModerationActionblockprivate final Set<MessageModerationAction>valuespublic final static MessageModerationAction.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final MessageModerationActionfromRawValue(String rawValue)Creates a MessageModerationAction from a raw value. final MessageModerationActiongetBounce()A bounced message means it needs to be rephrased and sent again. final MessageModerationActiongetFlag()A flagged message means it was sent for review in the dashboard but the message was still published. final MessageModerationActiongetBlock()A blocked message means it was not published and it was sent for review in the dashboard. final Set<MessageModerationAction>getValues()A set of all the available MessageModerationAction values. -
-
Method Detail
-
fromRawValue
final MessageModerationAction fromRawValue(String rawValue)
Creates a MessageModerationAction from a raw value.
-
getBounce
final MessageModerationAction getBounce()
A bounced message means it needs to be rephrased and sent again.
-
getFlag
final MessageModerationAction getFlag()
A flagged message means it was sent for review in the dashboard but the message was still published.
-
getBlock
final MessageModerationAction getBlock()
A blocked message means it was not published and it was sent for review in the dashboard.
-
getValues
final Set<MessageModerationAction> getValues()
A set of all the available MessageModerationAction values.
-
-
-
-