GenericPrivateMessageReactionEvent
, PrivateMessageDeleteEvent
, PrivateMessageEmbedEvent
, PrivateMessageReceivedEvent
, PrivateMessageUpdateEvent
public abstract class GenericPrivateMessageEvent extends Event
Message
event is fired from a PrivateChannel
.
Can be used to detect any PrivateMessageEvent.
Constructor | Description |
---|---|
GenericPrivateMessageEvent(JDA api,
long responseNumber,
long messageId,
PrivateChannel channel) |
Modifier and Type | Method | Description |
---|---|---|
PrivateChannel |
getChannel() |
The
PrivateChannel for the message |
java.lang.String |
getMessageId() |
The id for this message
|
long |
getMessageIdLong() |
The id for this message
|
getJDA, getResponseNumber
public GenericPrivateMessageEvent(JDA api, long responseNumber, long messageId, PrivateChannel channel)
public PrivateChannel getChannel()
PrivateChannel
for the messagepublic java.lang.String getMessageId()
public long getMessageIdLong()