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

12 lines
392 B
C#
Raw Normal View History

2023-12-18 22:38:12 +00:00
namespace BotSharp.Abstraction.Messaging.Models.RichContent;
public class QuickReplyMessage : IRichMessage
{
2023-12-18 22:38:12 +00:00
[JsonPropertyName("rich_type")]
2024-02-24 21:17:37 +00:00
public string RichType => RichTypeEnum.QuickReply;
2023-12-18 22:38:12 +00:00
public string Text { get; set; } = string.Empty;
2023-11-08 22:27:42 +00:00
2023-12-18 22:38:12 +00:00
[JsonPropertyName("quick_replies")]
public List<QuickReplyElement> QuickReplies { get; set; } = new List<QuickReplyElement>();
}