Add SenderActionModel

This commit is contained in:
Yanan Wang 2023-10-27 15:38:37 -05:00
parent d26d8308d5
commit f709bb1795

View file

@ -0,0 +1,15 @@
namespace BotSharp.Abstraction.Messaging.Models.RichContent
{
public class SenderActionModel
{
/*
* Requests to display sender action should only include the sender_action parameter and the recipient object.
* All other Send API properties, such as text and templates, should be sent in a separate request.
*/
public Recipient Recipient { get; set; } = new Recipient();
[JsonPropertyName("sender_action")]
public string SenderAction { get; set; } = string.Empty;
}
}