Class Embed.Field

  • Enclosing class:
    Embed

    public final class Embed.Field
    extends Object
    A field for a Discord embed.
    • Field Detail

      • MAX_NAME_LENGTH

        public static final int MAX_NAME_LENGTH
        The maximum amount of characters that can be in a field name.
        See Also:
        Constant Field Values
      • MAX_VALUE_LENGTH

        public static final int MAX_VALUE_LENGTH
        The maximum amount of characters that can be in a field value.
        See Also:
        Constant Field Values
    • Method Detail

      • getEmbed

        public Embed getEmbed()
        Gets the Embed associated to this object.
        Returns:
        The Embed associated to this object.
      • getName

        public String getName()
        Gets the name of the field.
        Returns:
        The name of the field.
      • getValue

        public String getValue()
        Gets the value of the field.
        Returns:
        The value of the field.
      • isInline

        public boolean isInline()
        Gets whether or not this field should display inline.
        Returns:
        true if this field should display inline, false otherwise.