BotSharp/src/Infrastructure/BotSharp.Abstraction/Messaging/Models/RichContent/SenderActionMessage.cs

14 lines
499 B
C#
Raw Normal View History

2023-12-18 22:38:12 +00:00
namespace BotSharp.Abstraction.Messaging.Models.RichContent;
2023-10-27 20:38:37 +00:00
2023-12-18 22:38:12 +00:00
public class SenderActionMessage
2023-10-27 20:38:37 +00:00
{
2023-12-18 22:38:12 +00:00
/*
* 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();
2023-10-27 20:38:37 +00:00
2023-12-18 22:38:12 +00:00
[JsonPropertyName("sender_action")]
public string SenderAction { get; set; } = string.Empty;
2023-10-27 20:38:37 +00:00
}