29 lines
760 B
C#
29 lines
760 B
C#
|
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;
|
|||
|
}
|
|||
|
}
|