public class ReactionRemoveAllEvent extends MessageEvent
guildId
may not be present if the message was in a private channel.
Corresponding reactions removes
are NOT dispatched
for messages included in this event.
This event is dispatched by Discord.
Constructor and Description |
---|
ReactionRemoveAllEvent(DiscordClient client,
long channelId,
long messageId,
Long guildId) |
Modifier and Type | Method and Description |
---|---|
Mono<MessageChannel> |
getChannel()
Requests to retrieve the
MessageChannel containing the Message and the removed reactions. |
Snowflake |
getChannelId()
|
Mono<Guild> |
getGuild()
|
Optional<Snowflake> |
getGuildId()
|
Mono<Message> |
getMessage()
Requests to retrieve the
Message the reactions were removed from in this event. |
Snowflake |
getMessageId()
|
String |
toString() |
public ReactionRemoveAllEvent(DiscordClient client, long channelId, long messageId, @Nullable Long guildId)
public Snowflake getChannelId()
MessageChannel
involved.public Mono<MessageChannel> getChannel()
MessageChannel
containing the Message
and the removed reactions.Mono
where, upon successful completion, emits the MessageChannel
containing the message
involved. If an error is received, it is emitted through the Mono
public Mono<Message> getMessage()
Message
the reactions were removed from in this event.