Class ReactionRemoveAllEvent
java.lang.Object
discord4j.core.event.domain.Event
discord4j.core.event.domain.message.MessageEvent
discord4j.core.event.domain.message.ReactionRemoveAllEvent
Dispatched when all of the reactions on a message are removed.
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.
- See Also:
-
Constructor Summary
ConstructorDescriptionReactionRemoveAllEvent
(GatewayDiscordClient gateway, ShardInfo shardInfo, long channelId, long messageId, Long guildId) -
Method Summary
Modifier and TypeMethodDescriptionRequests to retrieve theMessageChannel
containing theMessage
and the removed reactions.getGuild()
Requests to retrieve theMessage
the reactions were removed from in this event.toString()
Methods inherited from class discord4j.core.event.domain.Event
getClient, getShardInfo
-
Constructor Details
-
ReactionRemoveAllEvent
public ReactionRemoveAllEvent(GatewayDiscordClient gateway, ShardInfo shardInfo, long channelId, long messageId, @Nullable Long guildId)
-
-
Method Details
-
getChannelId
- Returns:
- The ID of the
MessageChannel
involved.
-
getChannel
Requests to retrieve theMessageChannel
containing theMessage
and the removed reactions.- Returns:
- A
Mono
where, upon successful completion, emits theMessageChannel
containing the message involved. If an error is received, it is emitted through theMono
-
getMessageId
- Returns:
- The ID of the
Message
involved.
-
getMessage
Requests to retrieve theMessage
the reactions were removed from in this event. -
getGuildId
-
getGuild
-
toString
-