Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <gateway.h>
Data Fields | |
u64snowflake | id |
u64snowflake | guild_id |
int | member_count |
struct discord_thread_members * | added_members |
struct snowflakes * | removed_member_ids |
Public methods
discord_thread_members_update_from_json(const char json[], size_t len, struct discord_thread_members_update *this)
discord_thread_members_update_from_jsmnf(jsmnf *root, const char json[], struct discord_thread_members_update *this)
discord_thread_members_update_to_json(char buf[], size_t size, const struct discord_thread_members_update *this)
discord_thread_members_update_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_thread_members_update *this)
added_members
may include guild_members and presence objects u64snowflake discord_thread_members_update::id |
the id of the thread
u64snowflake discord_thread_members_update::guild_id |
the id of the guild
int discord_thread_members_update::member_count |
the approximate number of members in the thread, capped at 50
struct discord_thread_members* discord_thread_members_update::added_members |
the users who were added to the thread
struct snowflakes* discord_thread_members_update::removed_member_ids |
the id of the users who were removed from the thread