Add TitleAs for button.
This commit is contained in:
parent
b211795cce
commit
f1bbd95acf
|
|
@ -13,6 +13,9 @@ public class ElementButton
|
|||
[Translate]
|
||||
public string Title { get; set; } = string.Empty;
|
||||
|
||||
[Translate]
|
||||
public string? TitleAs { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("description")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
[Translate]
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@ public class QuickReplyElement
|
|||
public string ContentType { get; set; } = "text";
|
||||
|
||||
public string Title { get; set; } = string.Empty;
|
||||
[Translate]
|
||||
public string? TitleAs { get; set; } = string.Empty;
|
||||
public string? Payload { get; set; }
|
||||
|
||||
[JsonPropertyName("image_url")]
|
||||
|
|
|
|||
Loading…
Reference in a new issue