A builder that creates API-compatible JSON data for embed fields.
Implements
JSONEncodable<APIEmbedField>Creates a new embed field from API data.
| Name | Type | Optional | Description | 
|---|---|---|---|
| data | Partial<APIEmbedField> | Yes | The API data to use | 
Sets whether this field should display inline.
| Name | Type | Optional | Description | 
|---|---|---|---|
| inline | boolean | Yes | Whether this field should display inline | 
Sets the name for this embed field.
| Name | Type | Optional | Description | 
|---|---|---|---|
| name | string | No | The name to use | 
Sets the value for this embed field.
| Name | Type | Optional | Description | 
|---|---|---|---|
| value | string | No | The value to use | 
Serializes this builder to API-compatible JSON data.Note that by disabling validation, there is no guarantee that the resulting object will be valid.
| Name | Type | Optional | Description | 
|---|---|---|---|
| validationOverride | boolean | Yes | Force validation to run/not run regardless of your global preference |