28 lines
647 B
C#
28 lines
647 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace Maki.Structures.Presences
|
|
{
|
|
/// <summary>
|
|
/// Discord API Typing Start event structure
|
|
/// </summary>
|
|
internal struct TypingStart
|
|
{
|
|
/// <summary>
|
|
/// id of the channel
|
|
/// </summary>
|
|
[JsonProperty("channel_id")]
|
|
public ulong Channel;
|
|
|
|
/// <summary>
|
|
/// id of the user
|
|
/// </summary>
|
|
[JsonProperty("user_id")]
|
|
public ulong User;
|
|
|
|
/// <summary>
|
|
/// unix time (in seconds) of when the user started typing
|
|
/// </summary>
|
|
[JsonProperty("timestamp")]
|
|
public int Time;
|
|
}
|
|
}
|