[JsonPropertyName("text")]
This commit is contained in:
parent
66069abdc7
commit
c55153db67
|
|
@ -10,7 +10,7 @@ public class CouponTemplateMessage : IRichMessage, ITemplateMessage
|
|||
{
|
||||
[JsonPropertyName("rich_type")]
|
||||
public string RichType => RichTypeEnum.CouponTemplate;
|
||||
[JsonIgnore]
|
||||
[JsonPropertyName("text")]
|
||||
public string Text { get; set; }
|
||||
public string Title { get; set; }
|
||||
public string Subtitle { get; set; }
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ public class GenericTemplateMessage<T> : IRichMessage, ITemplateMessage
|
|||
[JsonPropertyName("rich_type")]
|
||||
public string RichType => RichTypeEnum.GenericTemplate;
|
||||
|
||||
[JsonIgnore]
|
||||
[JsonPropertyName("text")]
|
||||
public string Text { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("template_type")]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ public class MultiSelectTemplateMessage : IRichMessage, ITemplateMessage
|
|||
{
|
||||
[JsonPropertyName("rich_type")]
|
||||
public string RichType => RichTypeEnum.MultiSelectTemplate;
|
||||
|
||||
[JsonPropertyName("text")]
|
||||
public string Text { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("template_type")]
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ public class ProductTemplateMessage : IRichMessage, ITemplateMessage
|
|||
[JsonPropertyName("rich_type")]
|
||||
public string RichType => RichTypeEnum.GenericTemplate;
|
||||
|
||||
[JsonIgnore]
|
||||
[JsonPropertyName("text")]
|
||||
public string Text { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("template_type")]
|
||||
|
|
|
|||
Loading…
Reference in a new issue