BotSharp/src/Infrastructure/BotSharp.Abstraction/Messaging/Models/RichContent/QuickReplyElement.cs

15 lines
431 B
C#
Raw Normal View History

2023-12-18 22:38:12 +00:00
namespace BotSharp.Abstraction.Messaging.Models.RichContent;
2023-12-18 22:38:12 +00:00
public class QuickReplyElement
{
2023-12-18 22:38:12 +00:00
[JsonPropertyName("content_type")]
public string ContentType { get; set; } = "text";
2023-11-24 23:26:33 +00:00
2023-12-18 22:38:12 +00:00
public string Title { get; set; } = string.Empty;
public string? Payload { get; set; }
2023-11-24 23:26:33 +00:00
2023-12-18 22:38:12 +00:00
[JsonPropertyName("image_url")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? ImageUrl { get; set; }
}