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.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Integer value
      private final String name
      private final Integer ordinal
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ALL_MESSAGE

      Receive all message notifications.

      Explicitly disables Do Not Disturb so that push notifications are received for every message.

      DEFAULT

      Not set (uses default).

      Falls back to the group-level or app-level notification settings.

      MENTION

      Notify 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_USERS

      Notify 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_ALL

      Notify 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.

      MUTED

      All message notifications are blocked.

      No push notifications are received for any messages.

    • Method Summary

      Modifier and Type Method Description
      final ChannelNoDisturbLevel valueOf(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 Integer getValue()
      • Methods inherited from class kotlin.Enum

        getName, getOrdinal
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.