Get User¶
-
ORCAcode discord_get_user(struct discord *client, u64_snowflake_t user_id, struct discord_user *ret)¶
Get user for a given id.
- Parameters
client – the client created with discord_init()
user_id – user to be fetched
ret – if successful, a discord_user that should be free’d with
discord_user_cleanup()
- Returns
ORCAcode for how the operation went, ORCA_OK means nothing out of the ordinary