public class MessageDeleteEvent extends GenericMessageEvent
MessageChannel
.JDA does not have a cache for messages and is not able to provide previous information due to limitations by the Discord API!
Constructor | Description |
---|---|
MessageDeleteEvent(JDA api,
long responseNumber,
long messageId,
MessageChannel channel) |
Modifier and Type | Method | Description |
---|---|---|
Group |
getGroup() |
|
Guild |
getGuild() |
|
PrivateChannel |
getPrivateChannel() |
|
TextChannel |
getTextChannel() |
getJDA, getResponseNumber
getChannel, getChannelType, getMessageId, getMessageIdLong, isFromType
public MessageDeleteEvent(JDA api, long responseNumber, long messageId, MessageChannel channel)
public PrivateChannel getPrivateChannel()
public Group getGroup()
public TextChannel getTextChannel()
public Guild getGuild()