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

#include <gateway.h>

Collaboration diagram for discord_guild_member_update:
[legend]

Data Fields

u64snowflake guild_id
 
struct snowflakesroles
 
struct discord_useruser
 
char * nick
 
char * avatar
 
u64unix_ms joined_at
 
u64unix_ms premium_since
 
bool deaf
 
bool mute
 
bool pending
 
u64unix_ms communication_disabled_until
 

Detailed Description

Public methods

Examples
audit-log.c.

Field Documentation

◆ guild_id

u64snowflake discord_guild_member_update::guild_id

id of the guild

Examples
audit-log.c.

◆ roles

struct snowflakes* discord_guild_member_update::roles

user role ids

◆ user

struct discord_user* discord_guild_member_update::user

the user

Examples
audit-log.c.

◆ nick

char* discord_guild_member_update::nick

nickname of the user in the guild

Examples
audit-log.c.

◆ avatar

char* discord_guild_member_update::avatar

the member's guild avatar hash

◆ joined_at

u64unix_ms discord_guild_member_update::joined_at

when the user joined the guild

◆ premium_since

u64unix_ms discord_guild_member_update::premium_since

when the user started boosting the guild

◆ deaf

bool discord_guild_member_update::deaf

whether the user is deafened in voice channels

◆ mute

bool discord_guild_member_update::mute

whether the user is muted in voice channels

◆ pending

bool discord_guild_member_update::pending

whether the user has not yet passed the guild's Membership Screening requirements

◆ communication_disabled_until

u64unix_ms discord_guild_member_update::communication_disabled_until

when the user's timeout will expire and the user will be able to communicate in the guild again, NULL or a time in the past if the user is not timed out


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