Concord - C Discord API library
A Discord API wrapper library written in C
channel.h File Reference

Generated code. More...

#include <stddef.h>
#include <stdbool.h>
#include <inttypes.h>
#include "carray.h"
#include "cog-utils.h"
#include "types.h"
#include "jsmn.h"
#include "jsmn-find.h"
#include "json-build.h"
Include dependency graph for channel.h:

Go to the source code of this file.

Data Structures

struct  discord_channel
 
struct  discord_channels
 
struct  discord_message
 
struct  discord_messages
 
struct  discord_message_activity
 
struct  discord_message_reference
 
struct  discord_followed_channel
 
struct  discord_reaction
 
struct  discord_reactions
 
struct  discord_overwrite
 
struct  discord_overwrites
 
struct  discord_thread_metadata
 
struct  discord_thread_member
 
struct  discord_thread_members
 
struct  discord_attachment
 
struct  discord_attachments
 
struct  discord_embed
 
struct  discord_embeds
 
struct  discord_embed_thumbnail
 
struct  discord_embed_video
 
struct  discord_embed_image
 
struct  discord_embed_provider
 
struct  discord_embed_author
 
struct  discord_embed_footer
 
struct  discord_embed_field
 
struct  discord_embed_fields
 
struct  discord_channel_mention
 
struct  discord_allowed_mention
 
struct  discord_thread_response_body
 
struct  discord_modify_channel
 
struct  discord_delete_channel
 
struct  discord_get_channel_messages
 
struct  discord_create_message
 
struct  discord_get_reactions
 
struct  discord_edit_message
 
struct  discord_delete_message
 
struct  discord_bulk_delete_messages
 
struct  discord_edit_channel_permissions
 
struct  discord_create_channel_invite
 
struct  discord_delete_channel_permission
 
struct  discord_follow_news_channel
 
struct  discord_pin_message
 
struct  discord_unpin_message
 
struct  discord_group_dm_add_recipient
 
struct  discord_start_thread_with_message
 
struct  discord_start_thread_without_message
 
struct  discord_list_active_threads
 

Macros

#define DISCORD_MESSAGE_CROSSPOSTED   1 << 0
 
#define DISCORD_MESSAGE_IS_CROSSPOST   1 << 1
 
#define DISCORD_MESSAGE_SUPRPRESS_EMBEDS   1 << 2
 
#define DISCORD_MESSAGE_SOURCE_MESSAGE_DELETED   1 << 3
 
#define DISCORD_MESSAGE_URGENT   1 << 4
 
#define DISCORD_MESSAGE_HAS_THREAD   1 << 5
 
#define DISCORD_MESSAGE_EPHEMERAL   1 << 6
 
#define DISCORD_MESSAGE_LOADING   1 << 7
 
#define DISCORD_MESSAGE_FAILED_TO_MENTION_SOME_ROLES_IN_THREAD   1 << 8
 
#define JSMN_STRICT
 
#define JSMN_HEADER
 
#define JSONB_HEADER
 

Enumerations

enum  discord_channel_types {
  DISCORD_CHANNEL_GUILD_TEXT = 0 , DISCORD_CHANNEL_DM = 1 , DISCORD_CHANNEL_GUILD_VOICE = 2 , DISCORD_CHANNEL_GROUP_DM = 3 ,
  DISCORD_CHANNEL_GUILD_CATEGORY = 4 , DISCORD_CHANNEL_GUILD_NEWS = 5 , DISCORD_CHANNEL_GUILD_STORE = 6 , DISCORD_CHANNEL_GUILD_NEWS_THREAD = 10 ,
  DISCORD_CHANNEL_GUILD_PUBLIC_THREAD = 11 , DISCORD_CHANNEL_GUILD_PRIVATE_THREAD = 12 , DISCORD_CHANNEL_GUILD_STAGE_VOICE = 13 , DISCORD_CHANNEL_GUILD_DIRECTORY = 14 ,
  DISCORD_CHANNEL_GUILD_FORUM = 15
}
 
enum  discord_video_quality_modes { DISCORD_VIDEO_QUALITY_AUTO = 1 , DISCORD_VIDEO_QUALITY_FULL = 2 }
 
enum  discord_message_types {
  DISCORD_MESSAGE_DEFAULT = 0 , DISCORD_MESSAGE_RECIPIENT_ADD = 1 , DISCORD_MESSAGE_RECIPIENT_REMOVE = 2 , DISCORD_MESSAGE_CALL = 3 ,
  DISCORD_MESSAGE_CHANNEL_NAME_CHANGE = 4 , DISCORD_MESSAGE_CHANNEL_ICON_CHANGE = 5 , DISCORD_MESSAGE_CHANNEL_PINNED_MESSAGE = 6 , DISCORD_MESSAGE_GUILD_MEMBER_JOIN = 7 ,
  DISCORD_MESSAGE_USER_PREMIUM_GUILD_SUBSCRIPTION = 8 , DISCORD_MESSAGE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1 = 9 , DISCORD_MESSAGE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2 = 10 , DISCORD_MESSAGE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3 = 11 ,
  DISCORD_MESSAGE_CHANNEL_FOLLOW_ADD = 12 , DISCORD_MESSAGE_GUILD_DISCOVERY_DISQUALIFIED = 14 , DISCORD_MESSAGE_GUILD_DISCOVERY_REQUALIFIED = 15 , DISCORD_MESSAGE_GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING = 16 ,
  DISCORD_MESSAGE_GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING = 17 , DISCORD_MESSAGE_THREAD_CREATED = 18 , DISCORD_MESSAGE_REPLY = 19 , DISCORD_MESSAGE_CHAT_INPUT_COMMAND = 20 ,
  DISCORD_MESSAGE_THREAD_STARTER_MESSAGE = 21 , DISCORD_MESSAGE_GUILD_INVITE_REMINDER = 22 , DISCORD_MESSAGE_CONTEXT_MENU_COMMAND = 22
}
 
enum  discord_message_activity_types { DISCORD_MESSAGE_ACTIVITY_JOIN = 1 , DISCORD_MESSAGE_ACTIVITY_SPECTATE = 2 , DISCORD_MESSAGE_ACTIVITY_LISTEN = 3 , DISCORD_MESSAGE_ACTIVITY_JOIN_REQUEST = 5 }
 

Functions

void discord_channel_init (struct discord_channel *self)
 
void discord_channel_cleanup (struct discord_channel *self)
 
void discord_channels_cleanup (struct discord_channels *self)
 
void discord_message_init (struct discord_message *self)
 
void discord_message_cleanup (struct discord_message *self)
 
void discord_messages_cleanup (struct discord_messages *self)
 
void discord_followed_channel_init (struct discord_followed_channel *self)
 
void discord_followed_channel_cleanup (struct discord_followed_channel *self)
 
void discord_thread_member_init (struct discord_thread_member *self)
 
void discord_thread_member_cleanup (struct discord_thread_member *self)
 
void discord_thread_members_cleanup (struct discord_thread_members *self)
 
void discord_attachments_cleanup (struct discord_attachments *self)
 
void discord_embed_init (struct discord_embed *self)
 
void discord_embed_cleanup (struct discord_embed *self)
 
void discord_embeds_cleanup (struct discord_embeds *self)
 
void discord_embed_thumbnail_init (struct discord_embed_thumbnail *self)
 
void discord_embed_thumbnail_cleanup (struct discord_embed_thumbnail *self)
 
void discord_embed_video_init (struct discord_embed_video *self)
 
void discord_embed_video_cleanup (struct discord_embed_video *self)
 
void discord_embed_image_init (struct discord_embed_image *self)
 
void discord_embed_image_cleanup (struct discord_embed_image *self)
 
void discord_embed_provider_init (struct discord_embed_provider *self)
 
void discord_embed_provider_cleanup (struct discord_embed_provider *self)
 
void discord_embed_author_init (struct discord_embed_author *self)
 
void discord_embed_author_cleanup (struct discord_embed_author *self)
 
void discord_embed_footer_init (struct discord_embed_footer *self)
 
void discord_embed_footer_cleanup (struct discord_embed_footer *self)
 
void discord_embed_field_init (struct discord_embed_field *self)
 
void discord_embed_field_cleanup (struct discord_embed_field *self)
 
void discord_embed_fields_cleanup (struct discord_embed_fields *self)
 
void discord_thread_response_body_init (struct discord_thread_response_body *self)
 
void discord_thread_response_body_cleanup (struct discord_thread_response_body *self)
 
void discord_modify_channel_init (struct discord_modify_channel *self)
 
void discord_modify_channel_cleanup (struct discord_modify_channel *self)
 
void discord_create_message_init (struct discord_create_message *self)
 
void discord_create_message_cleanup (struct discord_create_message *self)
 
void discord_edit_message_init (struct discord_edit_message *self)
 
void discord_edit_message_cleanup (struct discord_edit_message *self)
 
void discord_bulk_delete_messages_init (struct discord_bulk_delete_messages *self)
 
void discord_bulk_delete_messages_cleanup (struct discord_bulk_delete_messages *self)
 
void discord_edit_channel_permissions_init (struct discord_edit_channel_permissions *self)
 
void discord_edit_channel_permissions_cleanup (struct discord_edit_channel_permissions *self)
 
void discord_create_channel_invite_init (struct discord_create_channel_invite *self)
 
void discord_create_channel_invite_cleanup (struct discord_create_channel_invite *self)
 
void discord_follow_news_channel_init (struct discord_follow_news_channel *self)
 
void discord_follow_news_channel_cleanup (struct discord_follow_news_channel *self)
 
void discord_group_dm_add_recipient_init (struct discord_group_dm_add_recipient *self)
 
void discord_group_dm_add_recipient_cleanup (struct discord_group_dm_add_recipient *self)
 
void discord_start_thread_with_message_init (struct discord_start_thread_with_message *self)
 
void discord_start_thread_with_message_cleanup (struct discord_start_thread_with_message *self)
 
void discord_start_thread_without_message_init (struct discord_start_thread_without_message *self)
 
void discord_start_thread_without_message_cleanup (struct discord_start_thread_without_message *self)
 
void discord_list_active_threads_init (struct discord_list_active_threads *self)
 
void discord_list_active_threads_cleanup (struct discord_list_active_threads *self)
 
long discord_channel_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_channel *self)
 
size_t discord_channel_from_json (const char buf[], size_t size, struct discord_channel *self)
 
long discord_channels_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_channels *self)
 
size_t discord_channels_from_json (const char buf[], size_t size, struct discord_channels *self)
 
long discord_message_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_message *self)
 
size_t discord_message_from_json (const char buf[], size_t size, struct discord_message *self)
 
long discord_messages_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_messages *self)
 
size_t discord_messages_from_json (const char buf[], size_t size, struct discord_messages *self)
 
long discord_followed_channel_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_followed_channel *self)
 
size_t discord_followed_channel_from_json (const char buf[], size_t size, struct discord_followed_channel *self)
 
long discord_thread_member_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_thread_member *self)
 
size_t discord_thread_member_from_json (const char buf[], size_t size, struct discord_thread_member *self)
 
long discord_thread_members_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_thread_members *self)
 
size_t discord_thread_members_from_json (const char buf[], size_t size, struct discord_thread_members *self)
 
long discord_attachments_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_attachments *self)
 
size_t discord_attachments_from_json (const char buf[], size_t size, struct discord_attachments *self)
 
long discord_embed_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_embed *self)
 
size_t discord_embed_from_json (const char buf[], size_t size, struct discord_embed *self)
 
long discord_embeds_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_embeds *self)
 
size_t discord_embeds_from_json (const char buf[], size_t size, struct discord_embeds *self)
 
long discord_embed_thumbnail_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_embed_thumbnail *self)
 
size_t discord_embed_thumbnail_from_json (const char buf[], size_t size, struct discord_embed_thumbnail *self)
 
long discord_embed_video_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_embed_video *self)
 
size_t discord_embed_video_from_json (const char buf[], size_t size, struct discord_embed_video *self)
 
long discord_embed_image_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_embed_image *self)
 
size_t discord_embed_image_from_json (const char buf[], size_t size, struct discord_embed_image *self)
 
long discord_embed_provider_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_embed_provider *self)
 
size_t discord_embed_provider_from_json (const char buf[], size_t size, struct discord_embed_provider *self)
 
long discord_embed_author_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_embed_author *self)
 
size_t discord_embed_author_from_json (const char buf[], size_t size, struct discord_embed_author *self)
 
long discord_embed_footer_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_embed_footer *self)
 
size_t discord_embed_footer_from_json (const char buf[], size_t size, struct discord_embed_footer *self)
 
long discord_embed_field_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_embed_field *self)
 
size_t discord_embed_field_from_json (const char buf[], size_t size, struct discord_embed_field *self)
 
long discord_embed_fields_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_embed_fields *self)
 
size_t discord_embed_fields_from_json (const char buf[], size_t size, struct discord_embed_fields *self)
 
long discord_thread_response_body_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_thread_response_body *self)
 
size_t discord_thread_response_body_from_json (const char buf[], size_t size, struct discord_thread_response_body *self)
 
long discord_modify_channel_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_modify_channel *self)
 
size_t discord_modify_channel_from_json (const char buf[], size_t size, struct discord_modify_channel *self)
 
long discord_create_message_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_create_message *self)
 
size_t discord_create_message_from_json (const char buf[], size_t size, struct discord_create_message *self)
 
long discord_edit_message_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_edit_message *self)
 
size_t discord_edit_message_from_json (const char buf[], size_t size, struct discord_edit_message *self)
 
long discord_bulk_delete_messages_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_bulk_delete_messages *self)
 
size_t discord_bulk_delete_messages_from_json (const char buf[], size_t size, struct discord_bulk_delete_messages *self)
 
long discord_edit_channel_permissions_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_edit_channel_permissions *self)
 
size_t discord_edit_channel_permissions_from_json (const char buf[], size_t size, struct discord_edit_channel_permissions *self)
 
long discord_create_channel_invite_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_create_channel_invite *self)
 
size_t discord_create_channel_invite_from_json (const char buf[], size_t size, struct discord_create_channel_invite *self)
 
long discord_follow_news_channel_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_follow_news_channel *self)
 
size_t discord_follow_news_channel_from_json (const char buf[], size_t size, struct discord_follow_news_channel *self)
 
long discord_group_dm_add_recipient_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_group_dm_add_recipient *self)
 
size_t discord_group_dm_add_recipient_from_json (const char buf[], size_t size, struct discord_group_dm_add_recipient *self)
 
long discord_start_thread_with_message_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_start_thread_with_message *self)
 
size_t discord_start_thread_with_message_from_json (const char buf[], size_t size, struct discord_start_thread_with_message *self)
 
long discord_start_thread_without_message_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_start_thread_without_message *self)
 
size_t discord_start_thread_without_message_from_json (const char buf[], size_t size, struct discord_start_thread_without_message *self)
 
long discord_list_active_threads_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_list_active_threads *self)
 
size_t discord_list_active_threads_from_json (const char buf[], size_t size, struct discord_list_active_threads *self)
 
jsonbcode discord_channel_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_channel *self)
 
size_t discord_channel_to_json (char buf[], size_t size, const struct discord_channel *self)
 
jsonbcode discord_channels_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_channels *self)
 
size_t discord_channels_to_json (char buf[], size_t size, const struct discord_channels *self)
 
jsonbcode discord_message_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_message *self)
 
size_t discord_message_to_json (char buf[], size_t size, const struct discord_message *self)
 
jsonbcode discord_messages_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_messages *self)
 
size_t discord_messages_to_json (char buf[], size_t size, const struct discord_messages *self)
 
jsonbcode discord_followed_channel_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_followed_channel *self)
 
size_t discord_followed_channel_to_json (char buf[], size_t size, const struct discord_followed_channel *self)
 
jsonbcode discord_thread_member_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_thread_member *self)
 
size_t discord_thread_member_to_json (char buf[], size_t size, const struct discord_thread_member *self)
 
jsonbcode discord_thread_members_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_thread_members *self)
 
size_t discord_thread_members_to_json (char buf[], size_t size, const struct discord_thread_members *self)
 
jsonbcode discord_attachments_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_attachments *self)
 
size_t discord_attachments_to_json (char buf[], size_t size, const struct discord_attachments *self)
 
jsonbcode discord_embed_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_embed *self)
 
size_t discord_embed_to_json (char buf[], size_t size, const struct discord_embed *self)
 
jsonbcode discord_embeds_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_embeds *self)
 
size_t discord_embeds_to_json (char buf[], size_t size, const struct discord_embeds *self)
 
jsonbcode discord_embed_thumbnail_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_embed_thumbnail *self)
 
size_t discord_embed_thumbnail_to_json (char buf[], size_t size, const struct discord_embed_thumbnail *self)
 
jsonbcode discord_embed_video_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_embed_video *self)
 
size_t discord_embed_video_to_json (char buf[], size_t size, const struct discord_embed_video *self)
 
jsonbcode discord_embed_image_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_embed_image *self)
 
size_t discord_embed_image_to_json (char buf[], size_t size, const struct discord_embed_image *self)
 
jsonbcode discord_embed_provider_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_embed_provider *self)
 
size_t discord_embed_provider_to_json (char buf[], size_t size, const struct discord_embed_provider *self)
 
jsonbcode discord_embed_author_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_embed_author *self)
 
size_t discord_embed_author_to_json (char buf[], size_t size, const struct discord_embed_author *self)
 
jsonbcode discord_embed_footer_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_embed_footer *self)
 
size_t discord_embed_footer_to_json (char buf[], size_t size, const struct discord_embed_footer *self)
 
jsonbcode discord_embed_field_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_embed_field *self)
 
size_t discord_embed_field_to_json (char buf[], size_t size, const struct discord_embed_field *self)
 
jsonbcode discord_embed_fields_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_embed_fields *self)
 
size_t discord_embed_fields_to_json (char buf[], size_t size, const struct discord_embed_fields *self)
 
jsonbcode discord_thread_response_body_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_thread_response_body *self)
 
size_t discord_thread_response_body_to_json (char buf[], size_t size, const struct discord_thread_response_body *self)
 
jsonbcode discord_modify_channel_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_modify_channel *self)
 
size_t discord_modify_channel_to_json (char buf[], size_t size, const struct discord_modify_channel *self)
 
jsonbcode discord_create_message_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_create_message *self)
 
size_t discord_create_message_to_json (char buf[], size_t size, const struct discord_create_message *self)
 
jsonbcode discord_edit_message_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_edit_message *self)
 
size_t discord_edit_message_to_json (char buf[], size_t size, const struct discord_edit_message *self)
 
jsonbcode discord_bulk_delete_messages_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_bulk_delete_messages *self)
 
size_t discord_bulk_delete_messages_to_json (char buf[], size_t size, const struct discord_bulk_delete_messages *self)
 
jsonbcode discord_edit_channel_permissions_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_edit_channel_permissions *self)
 
size_t discord_edit_channel_permissions_to_json (char buf[], size_t size, const struct discord_edit_channel_permissions *self)
 
jsonbcode discord_create_channel_invite_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_create_channel_invite *self)
 
size_t discord_create_channel_invite_to_json (char buf[], size_t size, const struct discord_create_channel_invite *self)
 
jsonbcode discord_follow_news_channel_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_follow_news_channel *self)
 
size_t discord_follow_news_channel_to_json (char buf[], size_t size, const struct discord_follow_news_channel *self)
 
jsonbcode discord_group_dm_add_recipient_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_group_dm_add_recipient *self)
 
size_t discord_group_dm_add_recipient_to_json (char buf[], size_t size, const struct discord_group_dm_add_recipient *self)
 
jsonbcode discord_start_thread_with_message_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_start_thread_with_message *self)
 
size_t discord_start_thread_with_message_to_json (char buf[], size_t size, const struct discord_start_thread_with_message *self)
 
jsonbcode discord_start_thread_without_message_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_start_thread_without_message *self)
 
size_t discord_start_thread_without_message_to_json (char buf[], size_t size, const struct discord_start_thread_without_message *self)
 
jsonbcode discord_list_active_threads_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_list_active_threads *self)
 
size_t discord_list_active_threads_to_json (char buf[], size_t size, const struct discord_list_active_threads *self)
 

Detailed Description

Generated code.

Author
Cogmasters

Macro Definition Documentation

◆ JSMN_STRICT

#define JSMN_STRICT

◆ JSMN_HEADER

#define JSMN_HEADER

◆ JSONB_HEADER

#define JSONB_HEADER

Enumeration Type Documentation

◆ discord_channel_types

Enumerator
DISCORD_CHANNEL_GUILD_TEXT 

a text channel within a server

DISCORD_CHANNEL_DM 

a direct message between users

DISCORD_CHANNEL_GUILD_VOICE 

a voice channel within a server

DISCORD_CHANNEL_GROUP_DM 

a direct message between multiple users

DISCORD_CHANNEL_GUILD_CATEGORY 

an organization category that contains up to 50 channels

DISCORD_CHANNEL_GUILD_NEWS 

a channel that users can follow and crosspost into their own server

DISCORD_CHANNEL_GUILD_STORE 

a channel in which game developers can seel their game on Discord

DISCORD_CHANNEL_GUILD_NEWS_THREAD 

a temporary sub-channel within a DISCORD_CHANNEL_GUILD_NEWS channel

DISCORD_CHANNEL_GUILD_PUBLIC_THREAD 

a temporary sub-channel within a DISCORD_CHANNEL_GUILD_TEXT channel

DISCORD_CHANNEL_GUILD_PRIVATE_THREAD 

a temporary sub-channel within a DISCORD_CHANNEL_GUILD_TEXT channel that is only viewable by those invited and those with the MANAGE_THREADS permission

DISCORD_CHANNEL_GUILD_STAGE_VOICE 

a voice channel for hosting events with an audience

DISCORD_CHANNEL_GUILD_DIRECTORY 

the channel in a hub containing the listed servers

DISCORD_CHANNEL_GUILD_FORUM 

a channel that can only contain threads

◆ discord_video_quality_modes

Enumerator
DISCORD_VIDEO_QUALITY_AUTO 

Discord chooses the quality for optimal performance

DISCORD_VIDEO_QUALITY_FULL 

720p

◆ discord_message_types

Enumerator
DISCORD_MESSAGE_DEFAULT 
DISCORD_MESSAGE_RECIPIENT_ADD 
DISCORD_MESSAGE_RECIPIENT_REMOVE 
DISCORD_MESSAGE_CALL 
DISCORD_MESSAGE_CHANNEL_NAME_CHANGE 
DISCORD_MESSAGE_CHANNEL_ICON_CHANGE 
DISCORD_MESSAGE_CHANNEL_PINNED_MESSAGE 
DISCORD_MESSAGE_GUILD_MEMBER_JOIN 
DISCORD_MESSAGE_USER_PREMIUM_GUILD_SUBSCRIPTION 
DISCORD_MESSAGE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1 
DISCORD_MESSAGE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2 
DISCORD_MESSAGE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3 
DISCORD_MESSAGE_CHANNEL_FOLLOW_ADD 
DISCORD_MESSAGE_GUILD_DISCOVERY_DISQUALIFIED 
DISCORD_MESSAGE_GUILD_DISCOVERY_REQUALIFIED 
DISCORD_MESSAGE_GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING 
DISCORD_MESSAGE_GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING 
DISCORD_MESSAGE_THREAD_CREATED 
DISCORD_MESSAGE_REPLY 
DISCORD_MESSAGE_CHAT_INPUT_COMMAND 
DISCORD_MESSAGE_THREAD_STARTER_MESSAGE 
DISCORD_MESSAGE_GUILD_INVITE_REMINDER 
DISCORD_MESSAGE_CONTEXT_MENU_COMMAND 

◆ discord_message_activity_types

Enumerator
DISCORD_MESSAGE_ACTIVITY_JOIN 
DISCORD_MESSAGE_ACTIVITY_SPECTATE 
DISCORD_MESSAGE_ACTIVITY_LISTEN 
DISCORD_MESSAGE_ACTIVITY_JOIN_REQUEST 

Function Documentation

◆ discord_channel_init()

void discord_channel_init ( struct discord_channel self)

◆ discord_channel_cleanup()

void discord_channel_cleanup ( struct discord_channel self)
Examples
manual-dm.c.

◆ discord_channels_cleanup()

void discord_channels_cleanup ( struct discord_channels self)
Examples
fetch-messages.c.

◆ discord_message_init()

void discord_message_init ( struct discord_message self)

◆ discord_message_cleanup()

void discord_message_cleanup ( struct discord_message self)

◆ discord_messages_cleanup()

void discord_messages_cleanup ( struct discord_messages self)
Examples
fetch-messages.c.

◆ discord_followed_channel_init()

void discord_followed_channel_init ( struct discord_followed_channel self)

◆ discord_followed_channel_cleanup()

void discord_followed_channel_cleanup ( struct discord_followed_channel self)

◆ discord_thread_member_init()

void discord_thread_member_init ( struct discord_thread_member self)

◆ discord_thread_member_cleanup()

void discord_thread_member_cleanup ( struct discord_thread_member self)

◆ discord_thread_members_cleanup()

void discord_thread_members_cleanup ( struct discord_thread_members self)

◆ discord_attachments_cleanup()

void discord_attachments_cleanup ( struct discord_attachments self)

◆ discord_embed_init()

void discord_embed_init ( struct discord_embed self)

◆ discord_embed_cleanup()

void discord_embed_cleanup ( struct discord_embed self)
Examples
embed.c.

◆ discord_embeds_cleanup()

void discord_embeds_cleanup ( struct discord_embeds self)

◆ discord_embed_thumbnail_init()

void discord_embed_thumbnail_init ( struct discord_embed_thumbnail self)

◆ discord_embed_thumbnail_cleanup()

void discord_embed_thumbnail_cleanup ( struct discord_embed_thumbnail self)

◆ discord_embed_video_init()

void discord_embed_video_init ( struct discord_embed_video self)

◆ discord_embed_video_cleanup()

void discord_embed_video_cleanup ( struct discord_embed_video self)

◆ discord_embed_image_init()

void discord_embed_image_init ( struct discord_embed_image self)

◆ discord_embed_image_cleanup()

void discord_embed_image_cleanup ( struct discord_embed_image self)

◆ discord_embed_provider_init()

void discord_embed_provider_init ( struct discord_embed_provider self)

◆ discord_embed_provider_cleanup()

void discord_embed_provider_cleanup ( struct discord_embed_provider self)

◆ discord_embed_author_init()

void discord_embed_author_init ( struct discord_embed_author self)

◆ discord_embed_author_cleanup()

void discord_embed_author_cleanup ( struct discord_embed_author self)

◆ discord_embed_footer_init()

void discord_embed_footer_init ( struct discord_embed_footer self)

◆ discord_embed_footer_cleanup()

void discord_embed_footer_cleanup ( struct discord_embed_footer self)

◆ discord_embed_field_init()

void discord_embed_field_init ( struct discord_embed_field self)

◆ discord_embed_field_cleanup()

void discord_embed_field_cleanup ( struct discord_embed_field self)

◆ discord_embed_fields_cleanup()

void discord_embed_fields_cleanup ( struct discord_embed_fields self)

◆ discord_thread_response_body_init()

void discord_thread_response_body_init ( struct discord_thread_response_body self)

◆ discord_thread_response_body_cleanup()

void discord_thread_response_body_cleanup ( struct discord_thread_response_body self)

◆ discord_modify_channel_init()

void discord_modify_channel_init ( struct discord_modify_channel self)

◆ discord_modify_channel_cleanup()

void discord_modify_channel_cleanup ( struct discord_modify_channel self)

◆ discord_create_message_init()

void discord_create_message_init ( struct discord_create_message self)

◆ discord_create_message_cleanup()

void discord_create_message_cleanup ( struct discord_create_message self)

◆ discord_edit_message_init()

void discord_edit_message_init ( struct discord_edit_message self)

◆ discord_edit_message_cleanup()

void discord_edit_message_cleanup ( struct discord_edit_message self)

◆ discord_bulk_delete_messages_init()

void discord_bulk_delete_messages_init ( struct discord_bulk_delete_messages self)

◆ discord_bulk_delete_messages_cleanup()

void discord_bulk_delete_messages_cleanup ( struct discord_bulk_delete_messages self)

◆ discord_edit_channel_permissions_init()

void discord_edit_channel_permissions_init ( struct discord_edit_channel_permissions self)

◆ discord_edit_channel_permissions_cleanup()

void discord_edit_channel_permissions_cleanup ( struct discord_edit_channel_permissions self)

◆ discord_create_channel_invite_init()

void discord_create_channel_invite_init ( struct discord_create_channel_invite self)

◆ discord_create_channel_invite_cleanup()

void discord_create_channel_invite_cleanup ( struct discord_create_channel_invite self)

◆ discord_follow_news_channel_init()

void discord_follow_news_channel_init ( struct discord_follow_news_channel self)

◆ discord_follow_news_channel_cleanup()

void discord_follow_news_channel_cleanup ( struct discord_follow_news_channel self)

◆ discord_group_dm_add_recipient_init()

void discord_group_dm_add_recipient_init ( struct discord_group_dm_add_recipient self)

◆ discord_group_dm_add_recipient_cleanup()

void discord_group_dm_add_recipient_cleanup ( struct discord_group_dm_add_recipient self)

◆ discord_start_thread_with_message_init()

void discord_start_thread_with_message_init ( struct discord_start_thread_with_message self)

◆ discord_start_thread_with_message_cleanup()

void discord_start_thread_with_message_cleanup ( struct discord_start_thread_with_message self)

◆ discord_start_thread_without_message_init()

void discord_start_thread_without_message_init ( struct discord_start_thread_without_message self)

◆ discord_start_thread_without_message_cleanup()

void discord_start_thread_without_message_cleanup ( struct discord_start_thread_without_message self)

◆ discord_list_active_threads_init()

void discord_list_active_threads_init ( struct discord_list_active_threads self)

◆ discord_list_active_threads_cleanup()

void discord_list_active_threads_cleanup ( struct discord_list_active_threads self)

◆ discord_channel_from_jsmnf()

long discord_channel_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_channel self 
)

◆ discord_channel_from_json()

size_t discord_channel_from_json ( const char  buf[],
size_t  size,
struct discord_channel self 
)

◆ discord_channels_from_jsmnf()

long discord_channels_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_channels self 
)

◆ discord_channels_from_json()

size_t discord_channels_from_json ( const char  buf[],
size_t  size,
struct discord_channels self 
)

◆ discord_message_from_jsmnf()

long discord_message_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_message self 
)

◆ discord_message_from_json()

size_t discord_message_from_json ( const char  buf[],
size_t  size,
struct discord_message self 
)

◆ discord_messages_from_jsmnf()

long discord_messages_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_messages self 
)

◆ discord_messages_from_json()

size_t discord_messages_from_json ( const char  buf[],
size_t  size,
struct discord_messages self 
)

◆ discord_followed_channel_from_jsmnf()

long discord_followed_channel_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_followed_channel self 
)

◆ discord_followed_channel_from_json()

size_t discord_followed_channel_from_json ( const char  buf[],
size_t  size,
struct discord_followed_channel self 
)

◆ discord_thread_member_from_jsmnf()

long discord_thread_member_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_thread_member self 
)

◆ discord_thread_member_from_json()

size_t discord_thread_member_from_json ( const char  buf[],
size_t  size,
struct discord_thread_member self 
)

◆ discord_thread_members_from_jsmnf()

long discord_thread_members_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_thread_members self 
)

◆ discord_thread_members_from_json()

size_t discord_thread_members_from_json ( const char  buf[],
size_t  size,
struct discord_thread_members self 
)

◆ discord_attachments_from_jsmnf()

long discord_attachments_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_attachments self 
)

◆ discord_attachments_from_json()

size_t discord_attachments_from_json ( const char  buf[],
size_t  size,
struct discord_attachments self 
)

◆ discord_embed_from_jsmnf()

long discord_embed_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_embed self 
)

◆ discord_embed_from_json()

size_t discord_embed_from_json ( const char  buf[],
size_t  size,
struct discord_embed self 
)
Examples
embed.c.

◆ discord_embeds_from_jsmnf()

long discord_embeds_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_embeds self 
)

◆ discord_embeds_from_json()

size_t discord_embeds_from_json ( const char  buf[],
size_t  size,
struct discord_embeds self 
)

◆ discord_embed_thumbnail_from_jsmnf()

long discord_embed_thumbnail_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_embed_thumbnail self 
)

◆ discord_embed_thumbnail_from_json()

size_t discord_embed_thumbnail_from_json ( const char  buf[],
size_t  size,
struct discord_embed_thumbnail self 
)

◆ discord_embed_video_from_jsmnf()

long discord_embed_video_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_embed_video self 
)

◆ discord_embed_video_from_json()

size_t discord_embed_video_from_json ( const char  buf[],
size_t  size,
struct discord_embed_video self 
)

◆ discord_embed_image_from_jsmnf()

long discord_embed_image_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_embed_image self 
)

◆ discord_embed_image_from_json()

size_t discord_embed_image_from_json ( const char  buf[],
size_t  size,
struct discord_embed_image self 
)

◆ discord_embed_provider_from_jsmnf()

long discord_embed_provider_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_embed_provider self 
)

◆ discord_embed_provider_from_json()

size_t discord_embed_provider_from_json ( const char  buf[],
size_t  size,
struct discord_embed_provider self 
)

◆ discord_embed_author_from_jsmnf()

long discord_embed_author_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_embed_author self 
)

◆ discord_embed_author_from_json()

size_t discord_embed_author_from_json ( const char  buf[],
size_t  size,
struct discord_embed_author self 
)

◆ discord_embed_footer_from_jsmnf()

long discord_embed_footer_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_embed_footer self 
)

◆ discord_embed_footer_from_json()

size_t discord_embed_footer_from_json ( const char  buf[],
size_t  size,
struct discord_embed_footer self 
)

◆ discord_embed_field_from_jsmnf()

long discord_embed_field_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_embed_field self 
)

◆ discord_embed_field_from_json()

size_t discord_embed_field_from_json ( const char  buf[],
size_t  size,
struct discord_embed_field self 
)

◆ discord_embed_fields_from_jsmnf()

long discord_embed_fields_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_embed_fields self 
)

◆ discord_embed_fields_from_json()

size_t discord_embed_fields_from_json ( const char  buf[],
size_t  size,
struct discord_embed_fields self 
)

◆ discord_thread_response_body_from_jsmnf()

long discord_thread_response_body_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_thread_response_body self 
)

◆ discord_thread_response_body_from_json()

size_t discord_thread_response_body_from_json ( const char  buf[],
size_t  size,
struct discord_thread_response_body self 
)

◆ discord_modify_channel_from_jsmnf()

long discord_modify_channel_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_modify_channel self 
)

◆ discord_modify_channel_from_json()

size_t discord_modify_channel_from_json ( const char  buf[],
size_t  size,
struct discord_modify_channel self 
)

◆ discord_create_message_from_jsmnf()

long discord_create_message_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_create_message self 
)

◆ discord_create_message_from_json()

size_t discord_create_message_from_json ( const char  buf[],
size_t  size,
struct discord_create_message self 
)

◆ discord_edit_message_from_jsmnf()

long discord_edit_message_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_edit_message self 
)

◆ discord_edit_message_from_json()

size_t discord_edit_message_from_json ( const char  buf[],
size_t  size,
struct discord_edit_message self 
)

◆ discord_bulk_delete_messages_from_jsmnf()

long discord_bulk_delete_messages_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_bulk_delete_messages self 
)

◆ discord_bulk_delete_messages_from_json()

size_t discord_bulk_delete_messages_from_json ( const char  buf[],
size_t  size,
struct discord_bulk_delete_messages self 
)

◆ discord_edit_channel_permissions_from_jsmnf()

long discord_edit_channel_permissions_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_edit_channel_permissions self 
)

◆ discord_edit_channel_permissions_from_json()

size_t discord_edit_channel_permissions_from_json ( const char  buf[],
size_t  size,
struct discord_edit_channel_permissions self 
)

◆ discord_create_channel_invite_from_jsmnf()

long discord_create_channel_invite_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_create_channel_invite self 
)

◆ discord_create_channel_invite_from_json()

size_t discord_create_channel_invite_from_json ( const char  buf[],
size_t  size,
struct discord_create_channel_invite self 
)

◆ discord_follow_news_channel_from_jsmnf()

long discord_follow_news_channel_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_follow_news_channel self 
)

◆ discord_follow_news_channel_from_json()

size_t discord_follow_news_channel_from_json ( const char  buf[],
size_t  size,
struct discord_follow_news_channel self 
)

◆ discord_group_dm_add_recipient_from_jsmnf()

long discord_group_dm_add_recipient_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_group_dm_add_recipient self 
)

◆ discord_group_dm_add_recipient_from_json()

size_t discord_group_dm_add_recipient_from_json ( const char  buf[],
size_t  size,
struct discord_group_dm_add_recipient self 
)

◆ discord_start_thread_with_message_from_jsmnf()

long discord_start_thread_with_message_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_start_thread_with_message self 
)

◆ discord_start_thread_with_message_from_json()

size_t discord_start_thread_with_message_from_json ( const char  buf[],
size_t  size,
struct discord_start_thread_with_message self 
)

◆ discord_start_thread_without_message_from_jsmnf()

long discord_start_thread_without_message_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_start_thread_without_message self 
)

◆ discord_start_thread_without_message_from_json()

size_t discord_start_thread_without_message_from_json ( const char  buf[],
size_t  size,
struct discord_start_thread_without_message self 
)

◆ discord_list_active_threads_from_jsmnf()

long discord_list_active_threads_from_jsmnf ( jsmnf_pair root,
const char *  js,
struct discord_list_active_threads self 
)

◆ discord_list_active_threads_from_json()

size_t discord_list_active_threads_from_json ( const char  buf[],
size_t  size,
struct discord_list_active_threads self 
)

◆ discord_channel_to_jsonb()

jsonbcode discord_channel_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_channel self 
)

◆ discord_channel_to_json()

size_t discord_channel_to_json ( char  buf[],
size_t  size,
const struct discord_channel self 
)

◆ discord_channels_to_jsonb()

jsonbcode discord_channels_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_channels self 
)

◆ discord_channels_to_json()

size_t discord_channels_to_json ( char  buf[],
size_t  size,
const struct discord_channels self 
)

◆ discord_message_to_jsonb()

jsonbcode discord_message_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_message self 
)

◆ discord_message_to_json()

size_t discord_message_to_json ( char  buf[],
size_t  size,
const struct discord_message self 
)

◆ discord_messages_to_jsonb()

jsonbcode discord_messages_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_messages self 
)

◆ discord_messages_to_json()

size_t discord_messages_to_json ( char  buf[],
size_t  size,
const struct discord_messages self 
)

◆ discord_followed_channel_to_jsonb()

jsonbcode discord_followed_channel_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_followed_channel self 
)

◆ discord_followed_channel_to_json()

size_t discord_followed_channel_to_json ( char  buf[],
size_t  size,
const struct discord_followed_channel self 
)

◆ discord_thread_member_to_jsonb()

jsonbcode discord_thread_member_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_thread_member self 
)

◆ discord_thread_member_to_json()

size_t discord_thread_member_to_json ( char  buf[],
size_t  size,
const struct discord_thread_member self 
)

◆ discord_thread_members_to_jsonb()

jsonbcode discord_thread_members_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_thread_members self 
)

◆ discord_thread_members_to_json()

size_t discord_thread_members_to_json ( char  buf[],
size_t  size,
const struct discord_thread_members self 
)

◆ discord_attachments_to_jsonb()

jsonbcode discord_attachments_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_attachments self 
)

◆ discord_attachments_to_json()

size_t discord_attachments_to_json ( char  buf[],
size_t  size,
const struct discord_attachments self 
)

◆ discord_embed_to_jsonb()

jsonbcode discord_embed_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_embed self 
)

◆ discord_embed_to_json()

size_t discord_embed_to_json ( char  buf[],
size_t  size,
const struct discord_embed self 
)

◆ discord_embeds_to_jsonb()

jsonbcode discord_embeds_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_embeds self 
)

◆ discord_embeds_to_json()

size_t discord_embeds_to_json ( char  buf[],
size_t  size,
const struct discord_embeds self 
)

◆ discord_embed_thumbnail_to_jsonb()

jsonbcode discord_embed_thumbnail_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_embed_thumbnail self 
)

◆ discord_embed_thumbnail_to_json()

size_t discord_embed_thumbnail_to_json ( char  buf[],
size_t  size,
const struct discord_embed_thumbnail self 
)

◆ discord_embed_video_to_jsonb()

jsonbcode discord_embed_video_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_embed_video self 
)

◆ discord_embed_video_to_json()

size_t discord_embed_video_to_json ( char  buf[],
size_t  size,
const struct discord_embed_video self 
)

◆ discord_embed_image_to_jsonb()

jsonbcode discord_embed_image_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_embed_image self 
)

◆ discord_embed_image_to_json()

size_t discord_embed_image_to_json ( char  buf[],
size_t  size,
const struct discord_embed_image self 
)

◆ discord_embed_provider_to_jsonb()

jsonbcode discord_embed_provider_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_embed_provider self 
)

◆ discord_embed_provider_to_json()

size_t discord_embed_provider_to_json ( char  buf[],
size_t  size,
const struct discord_embed_provider self 
)

◆ discord_embed_author_to_jsonb()

jsonbcode discord_embed_author_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_embed_author self 
)

◆ discord_embed_author_to_json()

size_t discord_embed_author_to_json ( char  buf[],
size_t  size,
const struct discord_embed_author self 
)

◆ discord_embed_footer_to_jsonb()

jsonbcode discord_embed_footer_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_embed_footer self 
)

◆ discord_embed_footer_to_json()

size_t discord_embed_footer_to_json ( char  buf[],
size_t  size,
const struct discord_embed_footer self 
)

◆ discord_embed_field_to_jsonb()

jsonbcode discord_embed_field_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_embed_field self 
)

◆ discord_embed_field_to_json()

size_t discord_embed_field_to_json ( char  buf[],
size_t  size,
const struct discord_embed_field self 
)

◆ discord_embed_fields_to_jsonb()

jsonbcode discord_embed_fields_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_embed_fields self 
)

◆ discord_embed_fields_to_json()

size_t discord_embed_fields_to_json ( char  buf[],
size_t  size,
const struct discord_embed_fields self 
)

◆ discord_thread_response_body_to_jsonb()

jsonbcode discord_thread_response_body_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_thread_response_body self 
)

◆ discord_thread_response_body_to_json()

size_t discord_thread_response_body_to_json ( char  buf[],
size_t  size,
const struct discord_thread_response_body self 
)

◆ discord_modify_channel_to_jsonb()

jsonbcode discord_modify_channel_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_modify_channel self 
)

◆ discord_modify_channel_to_json()

size_t discord_modify_channel_to_json ( char  buf[],
size_t  size,
const struct discord_modify_channel self 
)

◆ discord_create_message_to_jsonb()

jsonbcode discord_create_message_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_create_message self 
)

◆ discord_create_message_to_json()

size_t discord_create_message_to_json ( char  buf[],
size_t  size,
const struct discord_create_message self 
)

◆ discord_edit_message_to_jsonb()

jsonbcode discord_edit_message_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_edit_message self 
)

◆ discord_edit_message_to_json()

size_t discord_edit_message_to_json ( char  buf[],
size_t  size,
const struct discord_edit_message self 
)

◆ discord_bulk_delete_messages_to_jsonb()

jsonbcode discord_bulk_delete_messages_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_bulk_delete_messages self 
)

◆ discord_bulk_delete_messages_to_json()

size_t discord_bulk_delete_messages_to_json ( char  buf[],
size_t  size,
const struct discord_bulk_delete_messages self 
)

◆ discord_edit_channel_permissions_to_jsonb()

jsonbcode discord_edit_channel_permissions_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_edit_channel_permissions self 
)

◆ discord_edit_channel_permissions_to_json()

size_t discord_edit_channel_permissions_to_json ( char  buf[],
size_t  size,
const struct discord_edit_channel_permissions self 
)

◆ discord_create_channel_invite_to_jsonb()

jsonbcode discord_create_channel_invite_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_create_channel_invite self 
)

◆ discord_create_channel_invite_to_json()

size_t discord_create_channel_invite_to_json ( char  buf[],
size_t  size,
const struct discord_create_channel_invite self 
)

◆ discord_follow_news_channel_to_jsonb()

jsonbcode discord_follow_news_channel_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_follow_news_channel self 
)

◆ discord_follow_news_channel_to_json()

size_t discord_follow_news_channel_to_json ( char  buf[],
size_t  size,
const struct discord_follow_news_channel self 
)

◆ discord_group_dm_add_recipient_to_jsonb()

jsonbcode discord_group_dm_add_recipient_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_group_dm_add_recipient self 
)

◆ discord_group_dm_add_recipient_to_json()

size_t discord_group_dm_add_recipient_to_json ( char  buf[],
size_t  size,
const struct discord_group_dm_add_recipient self 
)

◆ discord_start_thread_with_message_to_jsonb()

jsonbcode discord_start_thread_with_message_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_start_thread_with_message self 
)

◆ discord_start_thread_with_message_to_json()

size_t discord_start_thread_with_message_to_json ( char  buf[],
size_t  size,
const struct discord_start_thread_with_message self 
)

◆ discord_start_thread_without_message_to_jsonb()

jsonbcode discord_start_thread_without_message_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_start_thread_without_message self 
)

◆ discord_start_thread_without_message_to_json()

size_t discord_start_thread_without_message_to_json ( char  buf[],
size_t  size,
const struct discord_start_thread_without_message self 
)

◆ discord_list_active_threads_to_jsonb()

jsonbcode discord_list_active_threads_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_list_active_threads self 
)

◆ discord_list_active_threads_to_json()

size_t discord_list_active_threads_to_json ( char  buf[],
size_t  size,
const struct discord_list_active_threads self 
)