uint64_t u64snowflake
Snowflake datatype.
Definition: types.h:28
jsonbcode
json-builder return codes
Definition: json-build.h:34
enum discord_membership_state membership_state
Definition: teams.h:43
struct bitmasks * permissions
Definition: teams.h:46
struct discord_user * user
Definition: teams.h:52
u64snowflake team_id
Definition: teams.h:49
int size
Definition: teams.h:55
struct discord_team_member * array
Definition: teams.h:56
u64snowflake owner_user_id
Definition: teams.h:39
char * name
Definition: teams.h:37
struct discord_team_members * members
Definition: teams.h:34
u64snowflake id
Definition: teams.h:31
char * icon
Definition: teams.h:29
Handle for building a JSON string.
Definition: json-build.h:61
void discord_team_cleanup(struct discord_team *self)
jsonbcode discord_team_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_team *self)
long discord_team_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_team *self)
size_t discord_team_to_json(char buf[], size_t size, const struct discord_team *self)
size_t discord_team_from_json(const char buf[], size_t size, struct discord_team *self)
void discord_team_init(struct discord_team *self)
discord_membership_state
Definition: teams.h:22
@ DISCORD_MEMBERSHIP_INVITED
Definition: teams.h:23
@ DISCORD_MEMBERSHIP_ACCEPTED
Definition: teams.h:24