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

The response for the completed request. More...

#include <discord-response.h>

Data Fields

void * data
 
const void * keep
 
CCORDcode code
 

Detailed Description

The response for the completed request.

Examples
audit-log.c, ban.c, channel.c, emoji.c, guild-template.c, guild.c, invite.c, pin.c, reaction.c, and slash-commands2.c.

Field Documentation

◆ data

void* discord_response::data

user arbitrary data provided at discord_ret

Examples
ban.c.

◆ keep

const void* discord_response::keep

kept concord's parameter provided at discord_ret

Examples
audit-log.c, ban.c, channel.c, emoji.c, guild-template.c, guild.c, invite.c, pin.c, and reaction.c.

◆ code

CCORDcode discord_response::code

request completion status

See also
Error handling
Examples
audit-log.c, channel.c, emoji.c, guild-template.c, guild.c, reaction.c, and slash-commands2.c.

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