Class EmbedRequest
public class EmbedRequest
- Inheritance
-
objectEmbedRequest
Properties
Author
Author information.
[JsonProperty("author")]
public EmbedAuthorRequest? Author { get; set; }
Property Value
Color
Color code of the embed (hex integer)
[JsonProperty("color")]
public int? Color { get; set; }
Property Value
- int?
Description
Description of the embed (1-4096 characters)
[JsonProperty("description")]
public string? Description { get; set; }
Property Value
Fields
Array of field objects (max 25)
[JsonProperty("fields")]
public EmbedFieldRequest[]? Fields { get; set; }
Property Value
Footer
Footer information.
[JsonProperty("footer")]
public EmbedFooterRequest? Footer { get; set; }
Property Value
Image
Image to display in the embed.
[JsonProperty("image")]
public EmbedMediaRequest? Image { get; set; }
Property Value
Thumbnail
Thumbnail image for the embed.
[JsonProperty("thumbnail")]
public EmbedMediaRequest? Thumbnail { get; set; }
Property Value
Timestamp
ISO8601 timestamp for the embed.
[JsonProperty("timestamp")]
public DateTimeOffset? Timestamp { get; set; }
Property Value
Title
Title of the embed.
[JsonProperty("title")]
public string? Title { get; set; }
Property Value
Type
[JsonProperty("type")]
public string? Type { get; }
Property Value
Url
URL of the embed.
[JsonProperty("url")]
public string? Url { get; set; }