public enum SlackMessageSubtype extends Enum<SlackMessageSubtype>
| Enum Constant and Description |
|---|
BOT_MESSAGE
A message was posted by an integration
|
CHANNEL_JOIN
Human joins a channel
|
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
|
REPLY_BROADCAST
A message thread's reply was broadcast to a channel (documented, but slack seems to use ^^^ instead)
|
THREAD_BROADCAST
A message thread's reply was broadcast to a channel
|
UNKNOWN
An unknown event type
|
| Modifier and Type | Method and Description |
|---|---|
static SlackMessageSubtype |
get(String key) |
Class<? extends SlackEventMessageBase> |
getMessageClass() |
String |
toString() |
static SlackMessageSubtype |
valueOf(String name)
Returns 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.
|
public static final SlackMessageSubtype CHANNEL_JOIN
public static final SlackMessageSubtype BOT_MESSAGE
public static final SlackMessageSubtype FILE_SHARE
public static final SlackMessageSubtype ME_MESSAGE
public static final SlackMessageSubtype MESSAGE_CHANGED
public static final SlackMessageSubtype MESSAGE_DELETED
public static final SlackMessageSubtype MESSAGE_REPLIED
public static final SlackMessageSubtype THREAD_BROADCAST
public static final SlackMessageSubtype REPLY_BROADCAST
public static final SlackMessageSubtype UNKNOWN
public static SlackMessageSubtype[] values()
for (SlackMessageSubtype c : SlackMessageSubtype.values()) System.out.println(c);
public static SlackMessageSubtype valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static SlackMessageSubtype get(String key)
public String toString()
toString in class Enum<SlackMessageSubtype>public Class<? extends SlackEventMessageBase> getMessageClass()
Copyright © 2019. All rights reserved.