|
Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <interactions.h>
Data Fields | |
| bool | wait |
| u64snowflake | thread_id |
| char * | avatar_url |
| bool | tts |
| struct discord_embeds * | embeds |
| struct discord_allowed_mention * | allowed_mentions |
| struct discord_components * | components |
| struct discord_attachments * | attachments |
| u64bitmask | flags |
Public methods
discord_create_followup_message_from_json(const char json[], size_t len, struct discord_create_followup_message *this)discord_create_followup_message_from_jsmnf(jsmnf *root, const char json[], struct discord_create_followup_message *this)| bool discord_create_followup_message::wait |
waits for server confirmation of message send before response, and returns the created message body (defaults to false; when false a message that is not saved does not return an error)
| u64snowflake discord_create_followup_message::thread_id |
send a message to the specified thread within a webhook's channel; the thread will automatically be unarchived
| char* discord_create_followup_message::avatar_url |
override the default avatar of the webhook
| bool discord_create_followup_message::tts |
true if this is a TTS message
| struct discord_embeds* discord_create_followup_message::embeds |
embedded rich content
| struct discord_allowed_mention* discord_create_followup_message::allowed_mentions |
allowed mentions for the message
| struct discord_components* discord_create_followup_message::components |
the components to include with the message
| struct discord_attachments* discord_create_followup_message::attachments |
attachment objects with filename and description
| u64bitmask discord_create_followup_message::flags |
Message flags combined as a bitfield (only SUPPRESS_EMBEDS can be set)