Class OptionalMessageEventImpl

    • Constructor Detail

      • OptionalMessageEventImpl

        public OptionalMessageEventImpl​(DiscordApi api,
                                        long messageId,
                                        TextChannel channel)
        Creates a new optional message event.
        Parameters:
        api - The discord api instance.
        messageId - The id of the message.
        channel - The text channel in which the message was sent.