12 enum discord_channel_types {
13 DISCORD_CHANNEL_GUILD_TEXT = 0,
14 DISCORD_CHANNEL_DM = 1,
15 DISCORD_CHANNEL_GUILD_VOICE = 2,
16 DISCORD_CHANNEL_GROUP_DM = 3,
17 DISCORD_CHANNEL_GUILD_CATEGORY = 4,
18 DISCORD_CHANNEL_GUILD_NEWS = 5,
19 DISCORD_CHANNEL_GUILD_STORE = 6,
21 extern char* discord_channel_types_to_string(
enum discord_channel_types);
22 extern enum discord_channel_types discord_channel_types_from_string(
char*);
23 extern bool discord_channel_types_has(
enum discord_channel_types,
char*);
38 enum discord_channel_types type;
58 char name[MAX_NAME_LEN];
63 char topic[MAX_TOPIC_LEN];
85 int rate_limit_per_user;
95 char icon[MAX_SHA256_LEN];
127 bool enable_arg_switches;
128 bool enable_record_defined;
129 bool enable_record_null;
130 void *arg_switches[19];
131 void *record_defined[19];
132 void *record_null[19];
136 extern void discord_channel_cleanup_v(
void *p);
138 extern void discord_channel_init_v(
void *p);
141 extern void discord_channel_free_v(
void *p);
143 extern void discord_channel_from_json_v(
char *json,
size_t len,
void *p);
144 extern void discord_channel_from_json(
char *json,
size_t len,
struct discord_channel *p);
145 extern size_t discord_channel_to_json_v(
char *json,
size_t len,
void *p);
146 extern size_t discord_channel_to_json(
char *json,
size_t len,
struct discord_channel *p);
147 extern size_t discord_channel_to_query_v(
char *json,
size_t len,
void *p);
148 extern size_t discord_channel_to_query(
char *json,
size_t len,
struct discord_channel *p);
149 extern void discord_channel_list_free_v(
void **p);
151 extern void discord_channel_list_from_json_v(
char *str,
size_t len,
void *p);
152 extern void discord_channel_list_from_json(
char *str,
size_t len,
struct discord_channel ***p);
153 extern size_t discord_channel_list_to_json_v(
char *str,
size_t len,
void *p);
154 extern size_t discord_channel_list_to_json(
char *str,
size_t len,
struct discord_channel **p);
157 enum discord_message_sticker_format_types {
158 DISCORD_MESSAGE_STICKER_PNG = 1,
159 DISCORD_MESSAGE_STICKER_APNG = 2,
160 DISCORD_MESSAGE_STICKER_LOTTIE = 3,
162 extern char* discord_message_sticker_format_types_to_string(
enum discord_message_sticker_format_types);
163 extern enum discord_message_sticker_format_types discord_message_sticker_format_types_from_string(
char*);
164 extern bool discord_message_sticker_format_types_has(
enum discord_message_sticker_format_types,
char*);
195 char asset[MAX_SHA256_LEN];
200 char preview_asset[MAX_SHA256_LEN];
204 enum discord_message_sticker_format_types type;
212 bool enable_arg_switches;
213 bool enable_record_defined;
214 bool enable_record_null;
215 void *arg_switches[8];
216 void *record_defined[8];
217 void *record_null[8];
221 extern void discord_message_sticker_cleanup_v(
void *p);
223 extern void discord_message_sticker_init_v(
void *p);
226 extern void discord_message_sticker_free_v(
void *p);
228 extern void discord_message_sticker_from_json_v(
char *json,
size_t len,
void *p);
230 extern size_t discord_message_sticker_to_json_v(
char *json,
size_t len,
void *p);
232 extern size_t discord_message_sticker_to_query_v(
char *json,
size_t len,
void *p);
234 extern void discord_message_sticker_list_free_v(
void **p);
236 extern void discord_message_sticker_list_from_json_v(
char *str,
size_t len,
void *p);
237 extern void discord_message_sticker_list_from_json(
char *str,
size_t len,
struct discord_message_sticker ***p);
238 extern size_t discord_message_sticker_list_to_json_v(
char *str,
size_t len,
void *p);
242 enum discord_message_flags {
243 DISCORD_MESSAGE_CROSSPOSTED = 1,
244 DISCORD_MESSAGE_IS_CROSSPOST = 2,
245 DISCORD_MESSAGE_SUPRESS_EMBEDS = 4,
246 DISCORD_MESSAGE_SOURCE_MESSAGE_DELETED = 8,
247 DISCORD_MESSAGE_URGENT = 16,
249 extern char* discord_message_flags_to_string(
enum discord_message_flags);
250 extern enum discord_message_flags discord_message_flags_from_string(
char*);
251 extern bool discord_message_flags_has(
enum discord_message_flags,
char*);
274 bool fail_if_not_exists;
282 bool enable_arg_switches;
283 bool enable_record_defined;
284 bool enable_record_null;
285 void *arg_switches[4];
286 void *record_defined[4];
287 void *record_null[4];
291 extern void discord_message_reference_cleanup_v(
void *p);
293 extern void discord_message_reference_init_v(
void *p);
296 extern void discord_message_reference_free_v(
void *p);
298 extern void discord_message_reference_from_json_v(
char *json,
size_t len,
void *p);
300 extern size_t discord_message_reference_to_json_v(
char *json,
size_t len,
void *p);
302 extern size_t discord_message_reference_to_query_v(
char *json,
size_t len,
void *p);
304 extern void discord_message_reference_list_free_v(
void **p);
306 extern void discord_message_reference_list_from_json_v(
char *str,
size_t len,
void *p);
308 extern size_t discord_message_reference_list_to_json_v(
char *str,
size_t len,
void *p);
344 bool enable_arg_switches;
345 bool enable_record_defined;
346 bool enable_record_null;
347 void *arg_switches[5];
348 void *record_defined[5];
349 void *record_null[5];
353 extern void discord_message_application_cleanup_v(
void *p);
355 extern void discord_message_application_init_v(
void *p);
358 extern void discord_message_application_free_v(
void *p);
360 extern void discord_message_application_from_json_v(
char *json,
size_t len,
void *p);
362 extern size_t discord_message_application_to_json_v(
char *json,
size_t len,
void *p);
364 extern size_t discord_message_application_to_query_v(
char *json,
size_t len,
void *p);
366 extern void discord_message_application_list_free_v(
void **p);
368 extern void discord_message_application_list_from_json_v(
char *str,
size_t len,
void *p);
370 extern size_t discord_message_application_list_to_json_v(
char *str,
size_t len,
void *p);
374 enum discord_message_activity_types {
375 DISCORD_MESSAGE_ACTIVITY_JOIN = 1,
376 DISCORD_MESSAGE_ACTIVITY_SPECTATE = 2,
377 DISCORD_MESSAGE_ACTIVITY_LISTEN = 3,
378 DISCORD_MESSAGE_ACTIVITY_JOIN_REQUEST = 5,
380 extern char* discord_message_activity_types_to_string(
enum discord_message_activity_types);
381 extern enum discord_message_activity_types discord_message_activity_types_from_string(
char*);
382 extern bool discord_message_activity_types_has(
enum discord_message_activity_types,
char*);
393 enum discord_message_activity_types type;
406 bool enable_arg_switches;
407 bool enable_record_defined;
408 bool enable_record_null;
409 void *arg_switches[2];
410 void *record_defined[2];
411 void *record_null[2];
415 extern void discord_message_activity_cleanup_v(
void *p);
417 extern void discord_message_activity_init_v(
void *p);
420 extern void discord_message_activity_free_v(
void *p);
422 extern void discord_message_activity_from_json_v(
char *json,
size_t len,
void *p);
424 extern size_t discord_message_activity_to_json_v(
char *json,
size_t len,
void *p);
426 extern size_t discord_message_activity_to_query_v(
char *json,
size_t len,
void *p);
428 extern void discord_message_activity_list_free_v(
void **p);
430 extern void discord_message_activity_list_from_json_v(
char *str,
size_t len,
void *p);
432 extern size_t discord_message_activity_list_to_json_v(
char *str,
size_t len,
void *p);
436 enum discord_message_types {
437 DISCORD_MESSAGE_DEFAULT = 0,
438 DISCORD_MESSAGE_RECIPIENT_ADD = 1,
439 DISCORD_MESSAGE_RECIPIENT_REMOVE = 3,
440 DISCORD_MESSAGE_CALL = 5,
441 DISCORD_MESSAGE_CHANNEL_NAME_CHANGE = 5,
442 DISCORD_MESSAGE_CHANNEL_ICON_CHANGE = 5,
443 DISCORD_MESSAGE_CHANNEL_PINNED_MESSAGE = 5,
444 DISCORD_MESSAGE_GUILD_MEMBER_JOIN = 5,
445 DISCORD_MESSAGE_USER_PREMIUM_GUILD_SUBSCRIPTION = 5,
446 DISCORD_MESSAGE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1 = 9,
447 DISCORD_MESSAGE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2 = 10,
448 DISCORD_MESSAGE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3 = 11,
449 DISCORD_MESSAGE_CHANNEL_FOLLOW_ADD = 12,
450 DISCORD_MESSAGE_GUILD_DISCOVERY_DISQUALIFIED = 14,
451 DISCORD_MESSAGE_GUILD_DISCOVERY_REQUALIFIED = 15,
452 DISCORD_MESSAGE_REPLY = 19,
453 DISCORD_MESSAGE_APPLICATION_COMMAND = 20,
455 extern char* discord_message_types_to_string(
enum discord_message_types);
456 extern enum discord_message_types discord_message_types_from_string(
char*);
457 extern bool discord_message_types_has(
enum discord_message_types,
char*);
504 bool mention_everyone;
512 ja_u64 **mention_roles;
545 enum discord_message_types type;
561 enum discord_message_flags flags;
578 bool enable_arg_switches;
579 bool enable_record_defined;
580 bool enable_record_null;
581 void *arg_switches[26];
582 void *record_defined[26];
583 void *record_null[26];
587 extern void discord_message_cleanup_v(
void *p);
589 extern void discord_message_init_v(
void *p);
592 extern void discord_message_free_v(
void *p);
594 extern void discord_message_from_json_v(
char *json,
size_t len,
void *p);
595 extern void discord_message_from_json(
char *json,
size_t len,
struct discord_message *p);
596 extern size_t discord_message_to_json_v(
char *json,
size_t len,
void *p);
597 extern size_t discord_message_to_json(
char *json,
size_t len,
struct discord_message *p);
598 extern size_t discord_message_to_query_v(
char *json,
size_t len,
void *p);
599 extern size_t discord_message_to_query(
char *json,
size_t len,
struct discord_message *p);
600 extern void discord_message_list_free_v(
void **p);
602 extern void discord_message_list_from_json_v(
char *str,
size_t len,
void *p);
603 extern void discord_message_list_from_json(
char *str,
size_t len,
struct discord_message ***p);
604 extern size_t discord_message_list_to_json_v(
char *str,
size_t len,
void *p);
605 extern size_t discord_message_list_to_json(
char *str,
size_t len,
struct discord_message **p);
628 bool enable_arg_switches;
629 bool enable_record_defined;
630 bool enable_record_null;
631 void *arg_switches[2];
632 void *record_defined[2];
633 void *record_null[2];
637 extern void discord_channel_followed_channel_cleanup_v(
void *p);
639 extern void discord_channel_followed_channel_init_v(
void *p);
642 extern void discord_channel_followed_channel_free_v(
void *p);
644 extern void discord_channel_followed_channel_from_json_v(
char *json,
size_t len,
void *p);
646 extern size_t discord_channel_followed_channel_to_json_v(
char *json,
size_t len,
void *p);
648 extern size_t discord_channel_followed_channel_to_query_v(
char *json,
size_t len,
void *p);
650 extern void discord_channel_followed_channel_list_free_v(
void **p);
652 extern void discord_channel_followed_channel_list_from_json_v(
char *str,
size_t len,
void *p);
654 extern size_t discord_channel_followed_channel_list_to_json_v(
char *str,
size_t len,
void *p);
682 bool enable_arg_switches;
683 bool enable_record_defined;
684 bool enable_record_null;
685 void *arg_switches[3];
686 void *record_defined[3];
687 void *record_null[3];
691 extern void discord_channel_reaction_cleanup_v(
void *p);
693 extern void discord_channel_reaction_init_v(
void *p);
696 extern void discord_channel_reaction_free_v(
void *p);
698 extern void discord_channel_reaction_from_json_v(
char *json,
size_t len,
void *p);
700 extern size_t discord_channel_reaction_to_json_v(
char *json,
size_t len,
void *p);
702 extern size_t discord_channel_reaction_to_query_v(
char *json,
size_t len,
void *p);
704 extern void discord_channel_reaction_list_free_v(
void **p);
706 extern void discord_channel_reaction_list_from_json_v(
char *str,
size_t len,
void *p);
708 extern size_t discord_channel_reaction_list_to_json_v(
char *str,
size_t len,
void *p);
728 enum discord_permissions_bitwise_flags allow;
733 enum discord_permissions_bitwise_flags deny;
741 bool enable_arg_switches;
742 bool enable_record_defined;
743 bool enable_record_null;
744 void *arg_switches[4];
745 void *record_defined[4];
746 void *record_null[4];
750 extern void discord_channel_overwrite_cleanup_v(
void *p);
752 extern void discord_channel_overwrite_init_v(
void *p);
755 extern void discord_channel_overwrite_free_v(
void *p);
757 extern void discord_channel_overwrite_from_json_v(
char *json,
size_t len,
void *p);
759 extern size_t discord_channel_overwrite_to_json_v(
char *json,
size_t len,
void *p);
761 extern size_t discord_channel_overwrite_to_query_v(
char *json,
size_t len,
void *p);
763 extern void discord_channel_overwrite_list_free_v(
void **p);
765 extern void discord_channel_overwrite_list_from_json_v(
char *str,
size_t len,
void *p);
767 extern size_t discord_channel_overwrite_list_to_json_v(
char *str,
size_t len,
void *p);
787 int auto_archive_duration;
803 bool enable_arg_switches;
804 bool enable_record_defined;
805 bool enable_record_null;
806 void *arg_switches[5];
807 void *record_defined[5];
808 void *record_null[5];
812 extern void discord_thread_metadata_cleanup_v(
void *p);
814 extern void discord_thread_metadata_init_v(
void *p);
817 extern void discord_thread_metadata_free_v(
void *p);
819 extern void discord_thread_metadata_from_json_v(
char *json,
size_t len,
void *p);
821 extern size_t discord_thread_metadata_to_json_v(
char *json,
size_t len,
void *p);
823 extern size_t discord_thread_metadata_to_query_v(
char *json,
size_t len,
void *p);
825 extern void discord_thread_metadata_list_free_v(
void **p);
827 extern void discord_thread_metadata_list_from_json_v(
char *str,
size_t len,
void *p);
828 extern void discord_thread_metadata_list_from_json(
char *str,
size_t len,
struct discord_thread_metadata ***p);
829 extern size_t discord_thread_metadata_list_to_json_v(
char *str,
size_t len,
void *p);
861 bool enable_arg_switches;
862 bool enable_record_defined;
863 bool enable_record_null;
864 void *arg_switches[4];
865 void *record_defined[4];
866 void *record_null[4];
870 extern void discord_thread_member_cleanup_v(
void *p);
872 extern void discord_thread_member_init_v(
void *p);
875 extern void discord_thread_member_free_v(
void *p);
877 extern void discord_thread_member_from_json_v(
char *json,
size_t len,
void *p);
878 extern void discord_thread_member_from_json(
char *json,
size_t len,
struct discord_thread_member *p);
879 extern size_t discord_thread_member_to_json_v(
char *json,
size_t len,
void *p);
880 extern size_t discord_thread_member_to_json(
char *json,
size_t len,
struct discord_thread_member *p);
881 extern size_t discord_thread_member_to_query_v(
char *json,
size_t len,
void *p);
882 extern size_t discord_thread_member_to_query(
char *json,
size_t len,
struct discord_thread_member *p);
883 extern void discord_thread_member_list_free_v(
void **p);
885 extern void discord_thread_member_list_from_json_v(
char *str,
size_t len,
void *p);
886 extern void discord_thread_member_list_from_json(
char *str,
size_t len,
struct discord_thread_member ***p);
887 extern size_t discord_thread_member_list_to_json_v(
char *str,
size_t len,
void *p);
888 extern size_t discord_thread_member_list_to_json(
char *str,
size_t len,
struct discord_thread_member **p);
931 bool enable_arg_switches;
932 bool enable_record_defined;
933 bool enable_record_null;
934 void *arg_switches[7];
935 void *record_defined[7];
936 void *record_null[7];
940 extern void discord_channel_attachment_cleanup_v(
void *p);
942 extern void discord_channel_attachment_init_v(
void *p);
945 extern void discord_channel_attachment_free_v(
void *p);
947 extern void discord_channel_attachment_from_json_v(
char *json,
size_t len,
void *p);
949 extern size_t discord_channel_attachment_to_json_v(
char *json,
size_t len,
void *p);
951 extern size_t discord_channel_attachment_to_query_v(
char *json,
size_t len,
void *p);
953 extern void discord_channel_attachment_list_free_v(
void **p);
955 extern void discord_channel_attachment_list_from_json_v(
char *str,
size_t len,
void *p);
957 extern size_t discord_channel_attachment_list_to_json_v(
char *str,
size_t len,
void *p);
977 enum discord_channel_types type;
989 bool enable_arg_switches;
990 bool enable_record_defined;
991 bool enable_record_null;
992 void *arg_switches[4];
993 void *record_defined[4];
994 void *record_null[4];
998 extern void discord_channel_mention_cleanup_v(
void *p);
1000 extern void discord_channel_mention_init_v(
void *p);
1003 extern void discord_channel_mention_free_v(
void *p);
1005 extern void discord_channel_mention_from_json_v(
char *json,
size_t len,
void *p);
1007 extern size_t discord_channel_mention_to_json_v(
char *json,
size_t len,
void *p);
1009 extern size_t discord_channel_mention_to_query_v(
char *json,
size_t len,
void *p);
1011 extern void discord_channel_mention_list_free_v(
void **p);
1013 extern void discord_channel_mention_list_from_json_v(
char *str,
size_t len,
void *p);
1014 extern void discord_channel_mention_list_from_json(
char *str,
size_t len,
struct discord_channel_mention ***p);
1015 extern size_t discord_channel_mention_list_to_json_v(
char *str,
size_t len,
void *p);
1016 extern size_t discord_channel_mention_list_to_json(
char *str,
size_t len,
struct discord_channel_mention **p);
1047 bool enable_arg_switches;
1048 bool enable_record_defined;
1049 bool enable_record_null;
1050 void *arg_switches[4];
1051 void *record_defined[4];
1052 void *record_null[4];
1056 extern void discord_channel_allowed_mentions_cleanup_v(
void *p);
1058 extern void discord_channel_allowed_mentions_init_v(
void *p);
1061 extern void discord_channel_allowed_mentions_free_v(
void *p);
1063 extern void discord_channel_allowed_mentions_from_json_v(
char *json,
size_t len,
void *p);
1065 extern size_t discord_channel_allowed_mentions_to_json_v(
char *json,
size_t len,
void *p);
1067 extern size_t discord_channel_allowed_mentions_to_query_v(
char *json,
size_t len,
void *p);
1069 extern void discord_channel_allowed_mentions_list_free_v(
void **p);
1071 extern void discord_channel_allowed_mentions_list_from_json_v(
char *str,
size_t len,
void *p);
1073 extern size_t discord_channel_allowed_mentions_list_to_json_v(
char *str,
size_t len,
void *p);
1085 char title[EMBED_TITLE_LEN];
1093 char description[EMBED_DESCRIPTION_LEN];
1141 bool enable_arg_switches;
1142 bool enable_record_defined;
1143 bool enable_record_null;
1144 void *arg_switches[13];
1145 void *record_defined[13];
1146 void *record_null[13];
1150 extern void discord_embed_cleanup_v(
void *p);
1152 extern void discord_embed_init_v(
void *p);
1155 extern void discord_embed_free_v(
void *p);
1157 extern void discord_embed_from_json_v(
char *json,
size_t len,
void *p);
1158 extern void discord_embed_from_json(
char *json,
size_t len,
struct discord_embed *p);
1159 extern size_t discord_embed_to_json_v(
char *json,
size_t len,
void *p);
1160 extern size_t discord_embed_to_json(
char *json,
size_t len,
struct discord_embed *p);
1161 extern size_t discord_embed_to_query_v(
char *json,
size_t len,
void *p);
1162 extern size_t discord_embed_to_query(
char *json,
size_t len,
struct discord_embed *p);
1163 extern void discord_embed_list_free_v(
void **p);
1164 extern void discord_embed_list_free(
struct discord_embed **p);
1165 extern void discord_embed_list_from_json_v(
char *str,
size_t len,
void *p);
1166 extern void discord_embed_list_from_json(
char *str,
size_t len,
struct discord_embed ***p);
1167 extern size_t discord_embed_list_to_json_v(
char *str,
size_t len,
void *p);
1168 extern size_t discord_embed_list_to_json(
char *str,
size_t len,
struct discord_embed **p);
1199 bool enable_arg_switches;
1200 bool enable_record_defined;
1201 bool enable_record_null;
1202 void *arg_switches[4];
1203 void *record_defined[4];
1204 void *record_null[4];
1208 extern void discord_embed_thumbnail_cleanup_v(
void *p);
1210 extern void discord_embed_thumbnail_init_v(
void *p);
1213 extern void discord_embed_thumbnail_free_v(
void *p);
1215 extern void discord_embed_thumbnail_from_json_v(
char *json,
size_t len,
void *p);
1217 extern size_t discord_embed_thumbnail_to_json_v(
char *json,
size_t len,
void *p);
1219 extern size_t discord_embed_thumbnail_to_query_v(
char *json,
size_t len,
void *p);
1221 extern void discord_embed_thumbnail_list_free_v(
void **p);
1223 extern void discord_embed_thumbnail_list_from_json_v(
char *str,
size_t len,
void *p);
1224 extern void discord_embed_thumbnail_list_from_json(
char *str,
size_t len,
struct discord_embed_thumbnail ***p);
1225 extern size_t discord_embed_thumbnail_list_to_json_v(
char *str,
size_t len,
void *p);
1226 extern size_t discord_embed_thumbnail_list_to_json(
char *str,
size_t len,
struct discord_embed_thumbnail **p);
1257 bool enable_arg_switches;
1258 bool enable_record_defined;
1259 bool enable_record_null;
1260 void *arg_switches[4];
1261 void *record_defined[4];
1262 void *record_null[4];
1266 extern void discord_embed_video_cleanup_v(
void *p);
1268 extern void discord_embed_video_init_v(
void *p);
1271 extern void discord_embed_video_free_v(
void *p);
1273 extern void discord_embed_video_from_json_v(
char *json,
size_t len,
void *p);
1274 extern void discord_embed_video_from_json(
char *json,
size_t len,
struct discord_embed_video *p);
1275 extern size_t discord_embed_video_to_json_v(
char *json,
size_t len,
void *p);
1276 extern size_t discord_embed_video_to_json(
char *json,
size_t len,
struct discord_embed_video *p);
1277 extern size_t discord_embed_video_to_query_v(
char *json,
size_t len,
void *p);
1278 extern size_t discord_embed_video_to_query(
char *json,
size_t len,
struct discord_embed_video *p);
1279 extern void discord_embed_video_list_free_v(
void **p);
1281 extern void discord_embed_video_list_from_json_v(
char *str,
size_t len,
void *p);
1282 extern void discord_embed_video_list_from_json(
char *str,
size_t len,
struct discord_embed_video ***p);
1283 extern size_t discord_embed_video_list_to_json_v(
char *str,
size_t len,
void *p);
1284 extern size_t discord_embed_video_list_to_json(
char *str,
size_t len,
struct discord_embed_video **p);
1315 bool enable_arg_switches;
1316 bool enable_record_defined;
1317 bool enable_record_null;
1318 void *arg_switches[4];
1319 void *record_defined[4];
1320 void *record_null[4];
1324 extern void discord_embed_image_cleanup_v(
void *p);
1326 extern void discord_embed_image_init_v(
void *p);
1329 extern void discord_embed_image_free_v(
void *p);
1331 extern void discord_embed_image_from_json_v(
char *json,
size_t len,
void *p);
1332 extern void discord_embed_image_from_json(
char *json,
size_t len,
struct discord_embed_image *p);
1333 extern size_t discord_embed_image_to_json_v(
char *json,
size_t len,
void *p);
1334 extern size_t discord_embed_image_to_json(
char *json,
size_t len,
struct discord_embed_image *p);
1335 extern size_t discord_embed_image_to_query_v(
char *json,
size_t len,
void *p);
1336 extern size_t discord_embed_image_to_query(
char *json,
size_t len,
struct discord_embed_image *p);
1337 extern void discord_embed_image_list_free_v(
void **p);
1339 extern void discord_embed_image_list_from_json_v(
char *str,
size_t len,
void *p);
1340 extern void discord_embed_image_list_from_json(
char *str,
size_t len,
struct discord_embed_image ***p);
1341 extern size_t discord_embed_image_list_to_json_v(
char *str,
size_t len,
void *p);
1342 extern size_t discord_embed_image_list_to_json(
char *str,
size_t len,
struct discord_embed_image **p);
1365 bool enable_arg_switches;
1366 bool enable_record_defined;
1367 bool enable_record_null;
1368 void *arg_switches[2];
1369 void *record_defined[2];
1370 void *record_null[2];
1374 extern void discord_embed_provider_cleanup_v(
void *p);
1376 extern void discord_embed_provider_init_v(
void *p);
1379 extern void discord_embed_provider_free_v(
void *p);
1381 extern void discord_embed_provider_from_json_v(
char *json,
size_t len,
void *p);
1383 extern size_t discord_embed_provider_to_json_v(
char *json,
size_t len,
void *p);
1385 extern size_t discord_embed_provider_to_query_v(
char *json,
size_t len,
void *p);
1387 extern void discord_embed_provider_list_free_v(
void **p);
1389 extern void discord_embed_provider_list_from_json_v(
char *str,
size_t len,
void *p);
1390 extern void discord_embed_provider_list_from_json(
char *str,
size_t len,
struct discord_embed_provider ***p);
1391 extern size_t discord_embed_provider_list_to_json_v(
char *str,
size_t len,
void *p);
1392 extern size_t discord_embed_provider_list_to_json(
char *str,
size_t len,
struct discord_embed_provider **p);
1403 char name[EMBED_AUTHOR_NAME_LEN];
1415 char *proxy_icon_url;
1423 bool enable_arg_switches;
1424 bool enable_record_defined;
1425 bool enable_record_null;
1426 void *arg_switches[4];
1427 void *record_defined[4];
1428 void *record_null[4];
1432 extern void discord_embed_author_cleanup_v(
void *p);
1434 extern void discord_embed_author_init_v(
void *p);
1437 extern void discord_embed_author_free_v(
void *p);
1439 extern void discord_embed_author_from_json_v(
char *json,
size_t len,
void *p);
1440 extern void discord_embed_author_from_json(
char *json,
size_t len,
struct discord_embed_author *p);
1441 extern size_t discord_embed_author_to_json_v(
char *json,
size_t len,
void *p);
1442 extern size_t discord_embed_author_to_json(
char *json,
size_t len,
struct discord_embed_author *p);
1443 extern size_t discord_embed_author_to_query_v(
char *json,
size_t len,
void *p);
1444 extern size_t discord_embed_author_to_query(
char *json,
size_t len,
struct discord_embed_author *p);
1445 extern void discord_embed_author_list_free_v(
void **p);
1447 extern void discord_embed_author_list_from_json_v(
char *str,
size_t len,
void *p);
1448 extern void discord_embed_author_list_from_json(
char *str,
size_t len,
struct discord_embed_author ***p);
1449 extern size_t discord_embed_author_list_to_json_v(
char *str,
size_t len,
void *p);
1450 extern size_t discord_embed_author_list_to_json(
char *str,
size_t len,
struct discord_embed_author **p);
1461 char text[EMBED_FOOTER_TEXT_LEN];
1469 char *proxy_icon_url;
1477 bool enable_arg_switches;
1478 bool enable_record_defined;
1479 bool enable_record_null;
1480 void *arg_switches[3];
1481 void *record_defined[3];
1482 void *record_null[3];
1486 extern void discord_embed_footer_cleanup_v(
void *p);
1488 extern void discord_embed_footer_init_v(
void *p);
1491 extern void discord_embed_footer_free_v(
void *p);
1493 extern void discord_embed_footer_from_json_v(
char *json,
size_t len,
void *p);
1494 extern void discord_embed_footer_from_json(
char *json,
size_t len,
struct discord_embed_footer *p);
1495 extern size_t discord_embed_footer_to_json_v(
char *json,
size_t len,
void *p);
1496 extern size_t discord_embed_footer_to_json(
char *json,
size_t len,
struct discord_embed_footer *p);
1497 extern size_t discord_embed_footer_to_query_v(
char *json,
size_t len,
void *p);
1498 extern size_t discord_embed_footer_to_query(
char *json,
size_t len,
struct discord_embed_footer *p);
1499 extern void discord_embed_footer_list_free_v(
void **p);
1501 extern void discord_embed_footer_list_from_json_v(
char *str,
size_t len,
void *p);
1502 extern void discord_embed_footer_list_from_json(
char *str,
size_t len,
struct discord_embed_footer ***p);
1503 extern size_t discord_embed_footer_list_to_json_v(
char *str,
size_t len,
void *p);
1504 extern size_t discord_embed_footer_list_to_json(
char *str,
size_t len,
struct discord_embed_footer **p);
1515 char name[EMBED_FIELD_NAME_LEN];
1519 char value[EMBED_FIELD_VALUE_LEN];
1531 bool enable_arg_switches;
1532 bool enable_record_defined;
1533 bool enable_record_null;
1534 void *arg_switches[3];
1535 void *record_defined[3];
1536 void *record_null[3];
1540 extern void discord_embed_field_cleanup_v(
void *p);
1542 extern void discord_embed_field_init_v(
void *p);
1545 extern void discord_embed_field_free_v(
void *p);
1547 extern void discord_embed_field_from_json_v(
char *json,
size_t len,
void *p);
1548 extern void discord_embed_field_from_json(
char *json,
size_t len,
struct discord_embed_field *p);
1549 extern size_t discord_embed_field_to_json_v(
char *json,
size_t len,
void *p);
1550 extern size_t discord_embed_field_to_json(
char *json,
size_t len,
struct discord_embed_field *p);
1551 extern size_t discord_embed_field_to_query_v(
char *json,
size_t len,
void *p);
1552 extern size_t discord_embed_field_to_query(
char *json,
size_t len,
struct discord_embed_field *p);
1553 extern void discord_embed_field_list_free_v(
void **p);
1555 extern void discord_embed_field_list_from_json_v(
char *str,
size_t len,
void *p);
1556 extern void discord_embed_field_list_from_json(
char *str,
size_t len,
struct discord_embed_field ***p);
1557 extern size_t discord_embed_field_list_to_json_v(
char *str,
size_t len,
void *p);
1558 extern size_t discord_embed_field_list_to_json(
char *str,
size_t len,
struct discord_embed_field **p);