Class MessageInteraction

    • Constructor Detail

      • MessageInteraction

        public MessageInteraction​(GatewayDiscordClient gateway,
                                  discord4j.discordjson.json.MessageInteractionData data)
        Constructs a MessageInteraction with an associated GatewayDiscordClient and Discord data.
        Parameters:
        gateway - The GatewayDiscordClient associated to this object, must be non-null.
        data - The raw data as represented by Discord, must be non-null.