|
Concord - C Discord API library
A Discord API wrapper library written in C
|
#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 |
| int | duration_secs |
| char * | waveform |
| u64bitmask | flags |
| char* discord_attachment::content |
the file contents
| u64snowflake discord_attachment::id |
attachment ID
| char* discord_attachment::filename |
name of file attached
| char* discord_attachment::description |
description for the file
| char* discord_attachment::content_type |
the attachment media type
| size_t discord_attachment::size |
size of file in bytes
| char* discord_attachment::url |
source url of file
| char* discord_attachment::proxy_url |
proxied url of file
| int discord_attachment::height |
height of file (if image)
| int discord_attachment::width |
width of file (if image)
| bool discord_attachment::ephemeral |
whether this attachment is ephemeral
| int discord_attachment::duration_secs |
the duration of the audio file
| char* discord_attachment::waveform |
base64 encoded bytearray representing a sampled waveform
| u64bitmask discord_attachment::flags |
attachment flags combined as a bitfield