BotSharp/src/Infrastructure/BotSharp.Abstraction/Conversations/Models/IncomingMessageModel.cs

16 lines
436 B
C#
Raw Normal View History

namespace BotSharp.Abstraction.Conversations.Models;
2023-10-27 15:18:48 +00:00
public class IncomingMessageModel : MessageConfig
{
public string Text { get; set; } = string.Empty;
2023-11-06 01:54:54 +00:00
public virtual string Channel { get; set; } = string.Empty;
2024-03-16 14:43:00 +00:00
2024-06-19 23:04:47 +00:00
[JsonPropertyName("input_message_id")]
public string? InputMessageId { get; set; }
2024-03-16 14:43:00 +00:00
/// <summary>
/// Postback message
/// </summary>
public PostbackMessageModel? Postback { get; set; }
}