class EmbedFieldBuilder
implements
JSONEncodable<APIEmbedField>export declare class EmbedFieldBuilder implements JSONEncodable<APIEmbedField>A builder that creates API-compatible JSON data for embed fields.
setInline(inline?: boolean) : this
inline?: boolean
Sets whether this field should display inline.
setName(name: string) : this
name: string
Sets the name for this embed field.
setValue(value: string) : this
value: string
Sets the value for this embed field.
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.