using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LineAPI.Message { public interface ILineMessage { string Type { get; set; } } internal class TextMessage: ILineMessage { [JsonProperty("type")] public string Type { get; set; } [JsonProperty("text")] public string Text { get; set; } [JsonProperty("emojis")] public List Emojis { get; set; } } public class Emoji { [JsonProperty("index")] public int Index { get; set; } [JsonProperty("productId")] public string ProductId { get; set; } [JsonProperty("emojiId")] public string EmojiId { get; set; } } }