Enum Class MessageType

java.lang.Object
java.lang.Enum<MessageType>
com.mewna.catnip.entity.message.MessageType
All Implemented Interfaces:
Serializable, Comparable<MessageType>, Constable

public enum MessageType extends Enum<MessageType>
Since:
9/4/18.
Author:
amy
  • Enum Constant Details

    • DEFAULT

      public static final MessageType DEFAULT
    • RECIPIENT_ADD

      public static final MessageType RECIPIENT_ADD
    • RECIPIENT_REMOVE

      public static final MessageType RECIPIENT_REMOVE
    • CALL

      public static final MessageType CALL
    • CHANNEL_NAME_CHANGE

      public static final MessageType CHANNEL_NAME_CHANGE
    • CHANNEL_ICON_CHANGE

      public static final MessageType CHANNEL_ICON_CHANGE
    • CHANNEL_PINNED_MESSAGE

      public static final MessageType CHANNEL_PINNED_MESSAGE
    • GUILD_MEMBER_JOIN

      public static final MessageType GUILD_MEMBER_JOIN
    • USER_PREMIUM_GUILD_SUBSCRIPTION

      public static final MessageType USER_PREMIUM_GUILD_SUBSCRIPTION
    • USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1

      public static final MessageType USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1
    • USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2

      public static final MessageType USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2
    • USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3

      public static final MessageType USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3
    • CHANNEL_FOLLOW_ADD

      public static final MessageType CHANNEL_FOLLOW_ADD
    • GUILD_DISCOVERY_DISQUALIFIED

      public static final MessageType GUILD_DISCOVERY_DISQUALIFIED
    • GUILD_DISCOVERY_REQUALIFIED

      public static final MessageType GUILD_DISCOVERY_REQUALIFIED
    • GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING

      public static final MessageType GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING
    • GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING

      public static final MessageType GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING
    • THREAD_CREATED

      public static final MessageType THREAD_CREATED
    • REPLY

      public static final MessageType REPLY
    • INTERACTION

      public static final MessageType INTERACTION
    • THREAD_STARTER_MESSAGE

      public static final MessageType THREAD_STARTER_MESSAGE
    • GUILD_INVITE_REMINDER

      public static final MessageType GUILD_INVITE_REMINDER
    • CONTEXT_MENU_COMMAND

      public static final MessageType CONTEXT_MENU_COMMAND
  • Method Details

    • values

      public static MessageType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MessageType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • byId

      @Nonnull @CheckReturnValue public static MessageType byId(int id)
    • id

      public int id()