Class MessageReference

java.lang.Object
discord4j.core.object.MessageReference
All Implemented Interfaces:
DiscordObject

@Experimental public class MessageReference extends Object implements DiscordObject
A Message Reference used by the Server Following feature.
See Also:
  • Constructor Details

    • 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.
  • Method Details