Change output field name.
This commit is contained in:
parent
febd731f57
commit
da4d5e548a
|
|
@ -2,6 +2,7 @@ namespace BotSharp.Abstraction.Instructs.Models;
|
||||||
|
|
||||||
public class InstructResult : ITrackableMessage
|
public class InstructResult : ITrackableMessage
|
||||||
{
|
{
|
||||||
|
[JsonPropertyName("message_id")]
|
||||||
public string MessageId { get; set; }
|
public string MessageId { get; set; }
|
||||||
public string Text { get; set; }
|
public string Text { get; set; }
|
||||||
public object Data { get; set; }
|
public object Data { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -18,5 +18,6 @@ public class MessageResponseModel : InstructResult
|
||||||
/// Rich message for UI rendering
|
/// Rich message for UI rendering
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||||
|
[JsonPropertyName("rich_content")]
|
||||||
public object? RichContent { get; set; }
|
public object? RichContent { get; set; }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue