Class MessageReference

    • Constructor Detail

      • MessageReference

        public MessageReference​(GatewayDiscordClient gateway,
                                discord4j.discordjson.json.MessageReferenceData data)
        Constructs a MessageReference 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.