Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <gateway.h>
Data Fields | |
u64snowflake | guild_id |
char * | query |
int | limit |
bool | presences |
struct snowflakes * | user_ids |
char * | nonce |
Public methods
discord_request_guild_members_from_json(const char json[], size_t len, struct discord_request_guild_members *this)
discord_request_guild_members_from_jsmnf(jsmnf *root, const char json[], struct discord_request_guild_members *this)
u64snowflake discord_request_guild_members::guild_id |
id of the guild to get members for
char* discord_request_guild_members::query |
string that username starts with, or an empty string to return all members
int discord_request_guild_members::limit |
maximum number of members to send matching the query
; a limit of 0
can be used with an empty string query
to return all members
bool discord_request_guild_members::presences |
used to specify if we want the presences of the matched members
struct snowflakes* discord_request_guild_members::user_ids |
used to specify which users you wish to fetch
char* discord_request_guild_members::nonce |
nonce to identify the Guild Members Chunk
response