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

#include <channel.h>

Collaboration diagram for discord_embed:
[legend]

Data Fields

char * title
 
char * type
 
char * description
 
char * url
 
u64unix_ms timestamp
 
int color
 
struct discord_embed_footerfooter
 
struct discord_embed_imageimage
 
struct discord_embed_thumbnailthumbnail
 
struct discord_embed_videovideo
 
struct discord_embed_providerprovider
 
struct discord_embed_authorauthor
 
struct discord_embed_fieldsfields
 

Detailed Description

Field Documentation

◆ title

char* discord_embed::title

title of embed

Examples
embed.c.

◆ type

char* discord_embed::type

type of embed (always "rich" for webhook embeds)

◆ description

char* discord_embed::description

description of embed

◆ url

char* discord_embed::url

url of embed

◆ timestamp

u64unix_ms discord_embed::timestamp

timestamp of embed content

Examples
embed.c.

◆ color

int discord_embed::color

color code of the embed

Examples
embed.c.

◆ footer

struct discord_embed_footer* discord_embed::footer

footer information

◆ image

struct discord_embed_image* discord_embed::image

image information

◆ thumbnail

struct discord_embed_thumbnail* discord_embed::thumbnail

thumbnail information

◆ video

struct discord_embed_video* discord_embed::video

video information

◆ provider

struct discord_embed_provider* discord_embed::provider

◆ author

struct discord_embed_author* discord_embed::author

◆ fields

struct discord_embed_fields* discord_embed::fields

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