BotSharp/src/Infrastructure/BotSharp.Abstraction/Messaging/Models/RichContent/QuickReplyElement.cs
2024-05-08 11:47:21 -05:00

15 lines
431 B
C#

namespace BotSharp.Abstraction.Messaging.Models.RichContent;
public class QuickReplyElement
{
[JsonPropertyName("content_type")]
public string ContentType { get; set; } = "text";
public string Title { get; set; } = string.Empty;
public string? Payload { get; set; }
[JsonPropertyName("image_url")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? ImageUrl { get; set; }
}