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

Request to be performed. More...

#include <discord-internal.h>

Collaboration diagram for discord_attributes:
[legend]

Data Fields

struct discord_ret_dispatch dispatch
 
struct discord_ret_response response
 
struct discord_attachments attachments
 
char * reason
 

Detailed Description

Request to be performed.

Field Documentation

◆ dispatch

struct discord_ret_dispatch discord_attributes::dispatch

attributes set by client for request dispatch behavior

◆ response

struct discord_ret_response discord_attributes::response

information for parsing response into a datatype (if possible)

◆ attachments

struct discord_attachments discord_attributes::attachments

if HTTP_MIMEPOST provide attachments for file transfer

◆ reason

char* discord_attributes::reason

indicated reason to why the action was taken

Note
when used at * discord_request buffer is kept and reused

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