Archived
1
0
Fork 0
This repository has been archived on 2024-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
maki/Maki/Structures/Presences/TypingStart.cs

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;
}
}