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

#include <channel.h>

Data Fields

char * content
 
u64snowflake id
 
char * filename
 
char * description
 
char * content_type
 
size_t size
 
char * url
 
char * proxy_url
 
int height
 
int width
 
bool ephemeral
 

Field Documentation

◆ content

char* discord_attachment::content

the file contents

◆ id

u64snowflake discord_attachment::id

attachment ID

◆ filename

char* discord_attachment::filename

name of file attached

◆ description

char* discord_attachment::description

description for the file

◆ content_type

char* discord_attachment::content_type

the attachment media type

◆ size

size_t discord_attachment::size

size of file in bytes

◆ url

char* discord_attachment::url

source url of file

◆ proxy_url

char* discord_attachment::proxy_url

proxied url of file

◆ height

int discord_attachment::height

height of file (if image)

◆ width

int discord_attachment::width

width of file (if image)

◆ ephemeral

bool discord_attachment::ephemeral

whether this attachment is ephemeral


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