Enum SlackMessageSubtype
- All Implemented Interfaces:
Serializable,Comparable<SlackMessageSubtype>
See https://api.slack.com/events/message for more info. Note that there are differences between the web api and RTM.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA message was posted by an integrationHuman joins a channelSomeone uploaded a fileA /me message was sentA message was changedA message was deletedA message thread received a replyA message thread's reply was broadcast to a channel (documented, but slack seems to use ^^^ instead)A message thread's reply was broadcast to a channelAn unknown event type -
Method Summary
Modifier and TypeMethodDescriptionstatic SlackMessageSubtypeClass<? extends SlackEventMessageBase> toString()static SlackMessageSubtypeReturns the enum constant of this type with the specified name.static SlackMessageSubtype[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CHANNEL_JOIN
Human joins a channel -
BOT_MESSAGE
A message was posted by an integration -
FILE_SHARE
Someone uploaded a file -
ME_MESSAGE
A /me message was sent -
MESSAGE_CHANGED
A message was changed -
MESSAGE_DELETED
A message was deleted -
MESSAGE_REPLIED
A message thread received a reply -
THREAD_BROADCAST
A message thread's reply was broadcast to a channel -
REPLY_BROADCAST
A message thread's reply was broadcast to a channel (documented, but slack seems to use ^^^ instead) -
UNKNOWN
An unknown event type
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
get
-
toString
- Overrides:
toStringin classEnum<SlackMessageSubtype>
-
getMessageClass
-