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

20 lines
586 B
C#
Raw Normal View History

2024-04-18 18:54:43 +00:00
using Newtonsoft.Json;
using JsonIgnoreAttribute = System.Text.Json.Serialization.JsonIgnoreAttribute;
2023-11-24 23:26:33 +00:00
namespace BotSharp.Abstraction.Messaging.Models.RichContent;
public class ElementAction
{
public string Type { get; set; }
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string Url { get; set; }
[JsonPropertyName("webview_height_ratio")]
2024-04-18 18:54:43 +00:00
[JsonProperty("webview_height_ratio")]
2023-11-24 23:26:33 +00:00
public string WebViewHeightRatio { get; set; }
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string Payload { get; set; }
}