Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <gateway.h>
Data Fields | |
int | total |
int | remaining |
int | reset_after |
int | max_concurrency |
Public methods
discord_session_start_limit_from_json(const char json[], size_t len, struct discord_session_start_limit *this)
discord_session_start_limit_from_jsmnf(jsmnf *root, const char json[], struct discord_session_start_limit *this)
discord_session_start_limit_to_json(char buf[], size_t size, const struct discord_session_start_limit *this)
discord_session_start_limit_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_session_start_limit *this)
int discord_session_start_limit::total |
the total number of session starts the current user is allowed
int discord_session_start_limit::remaining |
the remaining number of session starts the current user is allowed
int discord_session_start_limit::reset_after |
the number of milliseconds after which the limit resets
int discord_session_start_limit::max_concurrency |
the number of identify requests allowed per 5 seconds