2023-11-24 23:26:33 +00:00
|
|
|
using BotSharp.Abstraction.Messaging.Models.RichContent;
|
2023-08-04 22:07:44 +00:00
|
|
|
|
|
|
|
|
namespace BotSharp.Plugin.MetaMessenger.WebhookModels;
|
|
|
|
|
|
|
|
|
|
public class WebhookMessageBody
|
|
|
|
|
{
|
|
|
|
|
[JsonPropertyName("mid")]
|
|
|
|
|
public string Id { get;set; }
|
2023-11-24 23:26:33 +00:00
|
|
|
|
|
|
|
|
[JsonPropertyName("text")]
|
2023-08-04 22:07:44 +00:00
|
|
|
public string Text { get;set; }
|
2023-11-24 23:26:33 +00:00
|
|
|
|
2023-08-20 22:53:53 +00:00
|
|
|
[JsonPropertyName("quick_reply")]
|
2023-11-24 23:26:33 +00:00
|
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
|
|
|
|
public QuickReplyMessage QuickReply { get;set; }
|
2023-08-04 22:07:44 +00:00
|
|
|
}
|