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

#include <gateway.h>

Collaboration diagram for discord_presence_update:
[legend]

Data Fields

struct discord_useruser
 
u64snowflake guild_id
 
char * status
 
struct discord_client_statusclient_status
 
struct discord_activitiesactivities
 
u64unix_ms since
 
bool afk
 

Detailed Description

Field Documentation

◆ user

struct discord_user* discord_presence_update::user

the user presence is being updated for

◆ guild_id

u64snowflake discord_presence_update::guild_id

id of the guild

◆ status

char* discord_presence_update::status

either "idle", "dnd", "online", or "offline"

◆ client_status

struct discord_client_status* discord_presence_update::client_status

user's platform-dependent status

◆ activities

struct discord_activities* discord_presence_update::activities

user's current activities

◆ since

u64unix_ms discord_presence_update::since

unix time (in milliseconds) of when the client went idle, or null if the client is not idle

◆ afk

bool discord_presence_update::afk

whether or not the client is afk


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