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/Gateway/GatewayRequestGuildMembers.cs

29 lines
760 B
C#
Raw Permalink Normal View History

2017-05-14 12:02:51 +00:00
using Newtonsoft.Json;
namespace Maki.Structures.Gateway
{
/// <summary>
/// Discord Gateway Guild Members Request structure
/// </summary>
internal struct GatewayRequestGuildMembers
{
/// <summary>
/// id of the guild to get offline members for
/// </summary>
[JsonProperty("guild_id")]
public ulong Guild;
/// <summary>
/// string that username starts with, or an empty string to return all members
/// </summary>
[JsonProperty("query")]
public string Query;
/// <summary>
/// maximum number of members to send or 0 to request all members matched
/// </summary>
[JsonProperty("limit")]
public int Limit;
}
}