Initial commit

This commit is contained in:
Chris Chen
2022-09-08 08:04:32 -07:00
commit 184db15773
4604 changed files with 503905 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>
+7
View File
@@ -0,0 +1,7 @@
namespace LineAPI
{
public class Class1
{
}
}
+39
View File
@@ -0,0 +1,39 @@
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<Emoji> 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; }
}
}