dscrd
Discord C library
Data Fields
DiscordUser_s Struct Reference

Discord user. More...

#include <dscrd.h>

Collaboration diagram for DiscordUser_s:
Collaboration graph
[legend]

Data Fields

char id [21]
 the user's id identify More...
 
uint8_t _type
 
char * username
 username, not unique across platform identify More...
 
char discriminator [5]
 user's 4-digit discord-tag identify More...
 
char * avatar
 avatar hash More...
 
bool bot
 whether the user belongs to an OAuth2 application identify More...
 
bool mfa_enabled
 whether the user has two factor enabled on their account identify More...
 
bool verified
 whether the email on this account has been verified email More...
 
char * email
 the user's email More...
 
struct DiscordClient_sdiscord_client
 

Detailed Description

Discord user.

See also
DiscordUser_s for detailed element documentation.

Field Documentation

◆ _type

uint8_t _type

◆ avatar

char* avatar

avatar hash

◆ bot

bool bot

whether the user belongs to an OAuth2 application identify

◆ discord_client

struct DiscordClient_s* discord_client

◆ discriminator

char discriminator[5]

user's 4-digit discord-tag identify

◆ email

char* email

the user's email

◆ id

char id[21]

the user's id identify

◆ mfa_enabled

bool mfa_enabled

whether the user has two factor enabled on their account identify

◆ username

char* username

username, not unique across platform identify

◆ verified

bool verified

whether the email on this account has been verified email


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