Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <channel.h>
Data Fields | |
char * | title |
char * | type |
char * | description |
char * | url |
u64unix_ms | timestamp |
int | color |
struct discord_embed_footer * | footer |
struct discord_embed_image * | image |
struct discord_embed_thumbnail * | thumbnail |
struct discord_embed_video * | video |
struct discord_embed_provider * | provider |
struct discord_embed_author * | author |
struct discord_embed_fields * | fields |
Public methods
discord_embed_from_json(const char json[], size_t len, struct discord_embed *this)
discord_embed_from_jsmnf(jsmnf *root, const char json[], struct discord_embed *this)
char* discord_embed::title |
title of embed
char* discord_embed::type |
type of embed (always "rich" for webhook embeds)
char* discord_embed::description |
description of embed
char* discord_embed::url |
url of embed
u64unix_ms discord_embed::timestamp |
timestamp of embed content
int discord_embed::color |
color code of the embed
struct discord_embed_footer* discord_embed::footer |
footer information
struct discord_embed_image* discord_embed::image |
image information
struct discord_embed_thumbnail* discord_embed::thumbnail |
thumbnail information
struct discord_embed_video* discord_embed::video |
video information
struct discord_embed_provider* discord_embed::provider |
struct discord_embed_author* discord_embed::author |
struct discord_embed_fields* discord_embed::fields |