Concord - C Discord API library
A Discord API wrapper library written in C
discord_guild_members_chunk Struct Reference

#include <gateway.h>

Collaboration diagram for discord_guild_members_chunk:
[legend]

Data Fields

u64snowflake guild_id
 
struct discord_guild_membersmembers
 
int chunk_index
 
int chunk_count
 
struct snowflakesnot_found
 
struct discord_presence_updatespresences
 
char * nonce
 

Detailed Description

Public methods

Field Documentation

◆ guild_id

u64snowflake discord_guild_members_chunk::guild_id

the id of the guild

◆ members

struct discord_guild_members* discord_guild_members_chunk::members

set of guild members

◆ chunk_index

int discord_guild_members_chunk::chunk_index

the chunk index in the expected chunks for this response

Note
0 <= chunk_index < chunk_count

◆ chunk_count

int discord_guild_members_chunk::chunk_count

the total number of expected chunks for this response

◆ not_found

struct snowflakes* discord_guild_members_chunk::not_found

if passing an invalid id to REQUEST_GUILD_MEMBERS, it will be returned here

◆ presences

struct discord_presence_updates* discord_guild_members_chunk::presences

if passing true to REQUEST_GUILD_MEMBERS, presences of the returned members will be here

◆ nonce

char* discord_guild_members_chunk::nonce

the nonce used in the Guild Members Request


The documentation for this struct was generated from the following file: