BotSharp/src/Infrastructure/BotSharp.Abstraction/Messaging/Models/RichContent/RichContent.cs
2023-12-19 07:16:43 -06:00

23 lines
479 B
C#

namespace BotSharp.Abstraction.Messaging.Models.RichContent;
public class RichContent<T> where T : IRichMessage
{
public Recipient Recipient { get; set; } = new Recipient();
/// <summary>
/// RESPONSE
/// </summary>
[JsonPropertyName("messaging_type")]
public string MessagingType => "RESPONSE";
public T Message { get; set; }
public RichContent()
{
}
public RichContent(T message)
{
Message = message;
}
}