public abstract class GenericMessageEvent extends Event
Message event is fired.| Constructor and Description |
|---|
GenericMessageEvent(JDA api,
long responseNumber,
long messageId,
MessageChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
MessageChannel |
getChannel() |
ChannelType |
getChannelType() |
java.lang.String |
getMessageId() |
long |
getMessageIdLong() |
boolean |
isFromType(ChannelType type) |
getJDA, getResponseNumberpublic GenericMessageEvent(JDA api, long responseNumber, long messageId, MessageChannel channel)
public java.lang.String getMessageId()
public long getMessageIdLong()
public MessageChannel getChannel()
public boolean isFromType(ChannelType type)
public ChannelType getChannelType()