Enum ChannelNoDisturbLevel
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum ChannelNoDisturbLevel extends Enum<ChannelNoDisturbLevel>
Message notification level enum.
Used to set the push notification level for a specific channel.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classChannelNoDisturbLevel.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_MESSAGEReceive all message notifications.
Explicitly disables Do Not Disturb so that push notifications are received for every message.
DEFAULTNot set (uses default).
Falls back to the group-level or app-level notification settings.
MENTIONNotify on @everyone or @me mentions.
In group chats / communities, a notification is sent when @everyone is used or the current user appears in the mention list. In private chats, no notification is sent.
MENTION_USERSNotify only when @me is mentioned.
In group chats / communities, a notification is sent only when the current user appears in the mention list; @everyone is ignored. In private chats, no notification is sent.
MENTION_ALLNotify only on @everyone mentions.
In group chats / communities, a notification is sent only when @everyone is used; all other cases are silent. In private chats, no notification is sent.
MUTEDAll message notifications are blocked.
No push notifications are received for any messages.
-
Method Summary
Modifier and Type Method Description final ChannelNoDisturbLevelvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<ChannelNoDisturbLevel>values()Returns an array containing the constants of this enum type, in the order they're declared. final IntegergetValue()-
-
Method Detail
-
valueOf
final ChannelNoDisturbLevel valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Parameters:
value- Integer value corresponding to the notification level
-
values
final Array<ChannelNoDisturbLevel> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getValue
final Integer getValue()
-
-
-
-