|
Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <channel.h>
Data Fields | |
| char * | content |
| struct discord_embeds * | embeds |
| u64bitmask | flags |
| struct discord_allowed_mention * | allowed_mentions |
| struct discord_components * | components |
| struct discord_attachments * | attachments |
Public methods
discord_edit_message_from_json(const char json[], size_t len, struct discord_edit_message *this)discord_edit_message_from_jsmnf(jsmnf *root, const char json[], struct discord_edit_message *this)| char* discord_edit_message::content |
the message contents (up to 2000 characters)
| struct discord_embeds* discord_edit_message::embeds |
embedded rich content (up to 6000 characters)
| u64bitmask discord_edit_message::flags |
Message flags combined as a bitfield (only SUPPRESS_EMBEDS can be set)
| struct discord_allowed_mention* discord_edit_message::allowed_mentions |
allowed mentions for the message
| struct discord_components* discord_edit_message::components |
the components to include with the message
| struct discord_attachments* discord_edit_message::attachments |
attachment objects with filename and description