This commit is contained in:
Haiping Chen 2024-04-08 13:50:06 -05:00
parent e0874112d4
commit 9fd3ea98a4

View file

@ -19,6 +19,9 @@ public class GenericTemplateMessage<T> : IRichMessage, ITemplateMessage
[JsonPropertyName("is_horizontal")]
public bool IsHorizontal { get; set; }
[JsonPropertyName("is_popup")]
public bool IsPopup { get; set; }
[JsonPropertyName("element_type")]
public string ElementType => typeof(T).Name;
}