Enum SlackMessageSubtype

java.lang.Object
java.lang.Enum<SlackMessageSubtype>
com.hubspot.slack.client.models.events.SlackMessageSubtype
All Implemented Interfaces:
Serializable, Comparable<SlackMessageSubtype>

public enum SlackMessageSubtype extends Enum<SlackMessageSubtype>
See https://api.slack.com/events/message for more info. Note that there are differences between the web api and RTM.
  • Enum Constant Details

    • CHANNEL_JOIN

      public static final SlackMessageSubtype CHANNEL_JOIN
      Human joins a channel
    • BOT_MESSAGE

      public static final SlackMessageSubtype BOT_MESSAGE
      A message was posted by an integration
    • FILE_SHARE

      public static final SlackMessageSubtype FILE_SHARE
      Someone uploaded a file
    • ME_MESSAGE

      public static final SlackMessageSubtype ME_MESSAGE
      A /me message was sent
    • MESSAGE_CHANGED

      public static final SlackMessageSubtype MESSAGE_CHANGED
      A message was changed
    • MESSAGE_DELETED

      public static final SlackMessageSubtype MESSAGE_DELETED
      A message was deleted
    • MESSAGE_REPLIED

      public static final SlackMessageSubtype MESSAGE_REPLIED
      A message thread received a reply
    • THREAD_BROADCAST

      public static final SlackMessageSubtype THREAD_BROADCAST
      A message thread's reply was broadcast to a channel
    • REPLY_BROADCAST

      public static final SlackMessageSubtype REPLY_BROADCAST
      A message thread's reply was broadcast to a channel (documented, but slack seems to use ^^^ instead)
    • UNKNOWN

      public static final SlackMessageSubtype UNKNOWN
      An unknown event type
  • Method Details

    • values

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

      public static SlackMessageSubtype valueOf(String name)
      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:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • get

      public static SlackMessageSubtype get(String key)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SlackMessageSubtype>
    • getMessageClass

      public Class<? extends SlackEventMessageBase> getMessageClass()