declare class EmbedFieldBuilder implements JSONEncodable<APIEmbedField>A builder that creates API-compatible JSON data for embed fields.
external setInline(inline?: boolean) : this
inline?: boolean
Sets whether this field should display inline.
external setName(name: string) : this
name: string
Sets the name for this embed field.
external setValue(value: string) : this
value: string
Sets the value for this embed field.
external toJSON(validationOverride?: boolean) : APIEmbedField
validationOverride?: boolean
Serializes this builder to API-compatible JSON data.Note that by disabling validation, there is no guarantee that the resulting object will be valid.