27#define DISCORD_MESSAGE_CROSSPOSTED 1 << 0
30#define DISCORD_MESSAGE_IS_CROSSPOST 1 << 1
32#define DISCORD_MESSAGE_SUPRPRESS_EMBEDS 1 << 2
35#define DISCORD_MESSAGE_SOURCE_MESSAGE_DELETED 1 << 3
37#define DISCORD_MESSAGE_URGENT 1 << 4
39#define DISCORD_MESSAGE_HAS_THREAD 1 << 5
41#define DISCORD_MESSAGE_EPHEMERAL 1 << 6
43#define DISCORD_MESSAGE_LOADING 1 << 7
46#define DISCORD_MESSAGE_FAILED_TO_MENTION_SOME_ROLES_IN_THREAD 1 << 8
jsonbcode discord_list_active_threads_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_list_active_threads *self)
size_t discord_message_to_json(char buf[], size_t size, const struct discord_message *self)
void discord_modify_channel_cleanup(struct discord_modify_channel *self)
void discord_modify_channel_init(struct discord_modify_channel *self)
long discord_embed_fields_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_embed_fields *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_embed_video_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_embed_video *self)
void discord_attachments_cleanup(struct discord_attachments *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_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)
void discord_embed_field_cleanup(struct discord_embed_field *self)
void discord_thread_member_init(struct discord_thread_member *self)
void discord_embed_author_cleanup(struct discord_embed_author *self)
size_t discord_create_channel_invite_from_json(const char buf[], size_t size, struct discord_create_channel_invite *self)
long discord_embed_image_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_embed_image *self)
void discord_embed_video_init(struct discord_embed_video *self)
jsonbcode discord_thread_member_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_thread_member *self)
long discord_follow_news_channel_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_follow_news_channel *self)
long discord_followed_channel_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_followed_channel *self)
size_t discord_thread_response_body_to_json(char buf[], size_t size, const struct discord_thread_response_body *self)
void discord_edit_message_cleanup(struct discord_edit_message *self)
size_t discord_embed_to_json(char buf[], size_t size, const struct discord_embed *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_embed_author_from_json(const char buf[], size_t size, struct discord_embed_author *self)
long discord_create_message_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_create_message *self)
void discord_group_dm_add_recipient_init(struct discord_group_dm_add_recipient *self)
discord_message_activity_types
Definition: channel.h:115
@ DISCORD_MESSAGE_ACTIVITY_JOIN_REQUEST
Definition: channel.h:119
@ DISCORD_MESSAGE_ACTIVITY_SPECTATE
Definition: channel.h:117
@ DISCORD_MESSAGE_ACTIVITY_JOIN
Definition: channel.h:116
@ DISCORD_MESSAGE_ACTIVITY_LISTEN
Definition: channel.h:118
size_t discord_embed_image_from_json(const char buf[], size_t size, struct discord_embed_image *self)
void discord_list_active_threads_cleanup(struct discord_list_active_threads *self)
size_t discord_attachments_to_json(char buf[], size_t size, const struct discord_attachments *self)
jsonbcode discord_embeds_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_embeds *self)
void discord_follow_news_channel_init(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)
size_t discord_create_message_to_json(char buf[], size_t size, const struct discord_create_message *self)
size_t discord_embed_from_json(const char buf[], size_t size, struct discord_embed *self)
jsonbcode discord_embed_image_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_embed_image *self)
size_t discord_embeds_to_json(char buf[], size_t size, const struct discord_embeds *self)
jsonbcode discord_thread_members_to_jsonb(jsonb *b, 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)
jsonbcode discord_embed_provider_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_embed_provider *self)
void discord_list_active_threads_init(struct discord_list_active_threads *self)
void discord_create_channel_invite_cleanup(struct discord_create_channel_invite *self)
void discord_start_thread_without_message_cleanup(struct discord_start_thread_without_message *self)
size_t discord_embed_thumbnail_to_json(char buf[], size_t size, const struct discord_embed_thumbnail *self)
void discord_embed_provider_cleanup(struct discord_embed_provider *self)
void discord_message_cleanup(struct discord_message *self)
void discord_embed_footer_cleanup(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_footer_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_embed_footer *self)
void discord_edit_message_init(struct discord_edit_message *self)
long discord_embed_video_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_embed_video *self)
long discord_messages_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_messages *self)
size_t discord_create_channel_invite_to_json(char buf[], size_t size, const struct discord_create_channel_invite *self)
void discord_embed_author_init(struct discord_embed_author *self)
long discord_modify_channel_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_modify_channel *self)
size_t discord_embed_field_to_json(char buf[], size_t size, const struct discord_embed_field *self)
size_t discord_thread_response_body_from_json(const char buf[], size_t size, struct discord_thread_response_body *self)
long discord_thread_members_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_thread_members *self)
size_t discord_start_thread_with_message_to_json(char buf[], size_t size, const struct discord_start_thread_with_message *self)
size_t discord_embed_field_from_json(const char buf[], size_t size, struct discord_embed_field *self)
void discord_embed_thumbnail_init(struct discord_embed_thumbnail *self)
void discord_thread_members_cleanup(struct discord_thread_members *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_embed_video_from_json(const char buf[], size_t size, struct discord_embed_video *self)
long discord_channels_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_channels *self)
void discord_start_thread_without_message_init(struct discord_start_thread_without_message *self)
void discord_embed_video_cleanup(struct discord_embed_video *self)
size_t discord_attachments_from_json(const char buf[], size_t size, struct discord_attachments *self)
void discord_create_message_cleanup(struct discord_create_message *self)
void discord_channel_cleanup(struct discord_channel *self)
jsonbcode discord_embed_thumbnail_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_embed_thumbnail *self)
long discord_edit_channel_permissions_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_edit_channel_permissions *self)
size_t discord_start_thread_without_message_to_json(char buf[], size_t size, const struct discord_start_thread_without_message *self)
void discord_followed_channel_init(struct discord_followed_channel *self)
long discord_channel_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_channel *self)
size_t discord_message_from_json(const char buf[], size_t size, struct discord_message *self)
long discord_embed_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_embed *self)
long discord_edit_message_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_edit_message *self)
void discord_start_thread_with_message_cleanup(struct discord_start_thread_with_message *self)
void discord_embed_cleanup(struct discord_embed *self)
void discord_bulk_delete_messages_init(struct discord_bulk_delete_messages *self)
long discord_embed_author_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_embed_author *self)
size_t discord_followed_channel_to_json(char buf[], size_t size, const struct discord_followed_channel *self)
void discord_edit_channel_permissions_init(struct discord_edit_channel_permissions *self)
jsonbcode discord_create_message_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_create_message *self)
size_t discord_follow_news_channel_from_json(const char buf[], size_t size, struct discord_follow_news_channel *self)
size_t discord_thread_members_to_json(char buf[], size_t size, const struct discord_thread_members *self)
size_t discord_modify_channel_from_json(const char buf[], size_t size, struct discord_modify_channel *self)
size_t discord_embed_footer_from_json(const char buf[], size_t size, struct discord_embed_footer *self)
void discord_embed_provider_init(struct discord_embed_provider *self)
discord_channel_types
Definition: channel.h:48
@ DISCORD_CHANNEL_GUILD_PRIVATE_THREAD
Definition: channel.h:76
@ DISCORD_CHANNEL_GUILD_FORUM
Definition: channel.h:82
@ DISCORD_CHANNEL_GUILD_NEWS_THREAD
Definition: channel.h:69
@ DISCORD_CHANNEL_GUILD_STAGE_VOICE
Definition: channel.h:78
@ DISCORD_CHANNEL_GUILD_VOICE
Definition: channel.h:54
@ DISCORD_CHANNEL_GUILD_STORE
Definition: channel.h:64
@ DISCORD_CHANNEL_GUILD_DIRECTORY
Definition: channel.h:80
@ DISCORD_CHANNEL_GUILD_TEXT
Definition: channel.h:50
@ DISCORD_CHANNEL_GUILD_CATEGORY
Definition: channel.h:58
@ DISCORD_CHANNEL_GROUP_DM
Definition: channel.h:56
@ DISCORD_CHANNEL_DM
Definition: channel.h:52
@ DISCORD_CHANNEL_ANNOUNCEMENT_THREAD
Definition: channel.h:67
@ DISCORD_CHANNEL_GUILD_PUBLIC_THREAD
Definition: channel.h:72
@ DISCORD_CHANNEL_GUILD_ANNOUNCEMENT
Definition: channel.h:60
@ DISCORD_CHANNEL_GUILD_NEWS
Definition: channel.h:62
long discord_create_channel_invite_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_create_channel_invite *self)
void discord_follow_news_channel_cleanup(struct discord_follow_news_channel *self)
size_t discord_channel_to_json(char buf[], size_t size, const struct discord_channel *self)
jsonbcode discord_followed_channel_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_followed_channel *self)
void discord_message_init(struct discord_message *self)
size_t discord_edit_channel_permissions_to_json(char buf[], size_t size, const struct discord_edit_channel_permissions *self)
discord_video_quality_modes
Definition: channel.h:84
@ DISCORD_VIDEO_QUALITY_FULL
Definition: channel.h:88
@ DISCORD_VIDEO_QUALITY_AUTO
Definition: channel.h:86
long discord_attachments_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_attachments *self)
void discord_edit_channel_permissions_cleanup(struct discord_edit_channel_permissions *self)
size_t discord_embed_author_to_json(char buf[], size_t size, const struct discord_embed_author *self)
discord_message_types
Definition: channel.h:90
@ DISCORD_MESSAGE_THREAD_STARTER_MESSAGE
Definition: channel.h:111
@ DISCORD_MESSAGE_CHANNEL_PINNED_MESSAGE
Definition: channel.h:97
@ DISCORD_MESSAGE_CHANNEL_FOLLOW_ADD
Definition: channel.h:103
@ DISCORD_MESSAGE_CALL
Definition: channel.h:94
@ DISCORD_MESSAGE_RECIPIENT_ADD
Definition: channel.h:92
@ DISCORD_MESSAGE_GUILD_INVITE_REMINDER
Definition: channel.h:112
@ DISCORD_MESSAGE_GUILD_DISCOVERY_DISQUALIFIED
Definition: channel.h:104
@ DISCORD_MESSAGE_DEFAULT
Definition: channel.h:91
@ DISCORD_MESSAGE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3
Definition: channel.h:102
@ DISCORD_MESSAGE_CHANNEL_ICON_CHANGE
Definition: channel.h:96
@ DISCORD_MESSAGE_USER_PREMIUM_GUILD_SUBSCRIPTION
Definition: channel.h:99
@ DISCORD_MESSAGE_GUILD_MEMBER_JOIN
Definition: channel.h:98
@ DISCORD_MESSAGE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2
Definition: channel.h:101
@ DISCORD_MESSAGE_GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING
Definition: channel.h:106
@ DISCORD_MESSAGE_CHAT_INPUT_COMMAND
Definition: channel.h:110
@ DISCORD_MESSAGE_GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING
Definition: channel.h:107
@ DISCORD_MESSAGE_THREAD_CREATED
Definition: channel.h:108
@ DISCORD_MESSAGE_GUILD_DISCOVERY_REQUALIFIED
Definition: channel.h:105
@ DISCORD_MESSAGE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1
Definition: channel.h:100
@ DISCORD_MESSAGE_RECIPIENT_REMOVE
Definition: channel.h:93
@ DISCORD_MESSAGE_CONTEXT_MENU_COMMAND
Definition: channel.h:113
@ DISCORD_MESSAGE_CHANNEL_NAME_CHANGE
Definition: channel.h:95
@ DISCORD_MESSAGE_REPLY
Definition: channel.h:109
void discord_thread_response_body_cleanup(struct discord_thread_response_body *self)
size_t discord_channels_to_json(char buf[], size_t size, const struct discord_channels *self)
long discord_embed_field_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_embed_field *self)
void discord_embed_init(struct discord_embed *self)
long discord_embed_provider_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_embed_provider *self)
jsonbcode discord_embed_fields_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_embed_fields *self)
jsonbcode discord_start_thread_without_message_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_start_thread_without_message *self)
void discord_followed_channel_cleanup(struct discord_followed_channel *self)
void discord_create_message_init(struct discord_create_message *self)
jsonbcode discord_embed_field_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_embed_field *self)
size_t discord_embed_video_to_json(char buf[], size_t size, const struct discord_embed_video *self)
long discord_list_active_threads_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_list_active_threads *self)
void discord_embed_image_init(struct discord_embed_image *self)
size_t discord_group_dm_add_recipient_from_json(const char buf[], size_t size, struct discord_group_dm_add_recipient *self)
size_t discord_messages_from_json(const char buf[], size_t size, struct discord_messages *self)
jsonbcode discord_channel_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_channel *self)
jsonbcode discord_embed_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_embed *self)
size_t discord_thread_member_from_json(const char buf[], size_t size, struct discord_thread_member *self)
size_t discord_embed_fields_from_json(const char buf[], size_t size, struct discord_embed_fields *self)
void discord_messages_cleanup(struct discord_messages *self)
jsonbcode discord_edit_message_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_edit_message *self)
long discord_embed_footer_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_embed_footer *self)
long discord_embed_thumbnail_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_embed_thumbnail *self)
long discord_embeds_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_embeds *self)
size_t discord_channel_from_json(const char buf[], size_t size, struct discord_channel *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_thread_members_from_json(const char buf[], size_t size, struct discord_thread_members *self)
size_t discord_list_active_threads_from_json(const char buf[], size_t size, struct discord_list_active_threads *self)
size_t discord_modify_channel_to_json(char buf[], size_t size, const struct discord_modify_channel *self)
void discord_thread_member_cleanup(struct discord_thread_member *self)
jsonbcode discord_message_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_message *self)
size_t discord_thread_member_to_json(char buf[], size_t size, const struct discord_thread_member *self)
jsonbcode discord_bulk_delete_messages_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_bulk_delete_messages *self)
void discord_channels_cleanup(struct discord_channels *self)
size_t discord_create_message_from_json(const char buf[], size_t size, struct discord_create_message *self)
void discord_create_channel_invite_init(struct discord_create_channel_invite *self)
jsonbcode discord_modify_channel_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_modify_channel *self)
long discord_start_thread_without_message_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_start_thread_without_message *self)
void discord_group_dm_add_recipient_cleanup(struct discord_group_dm_add_recipient *self)
long discord_thread_member_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_thread_member *self)
size_t discord_edit_message_from_json(const char buf[], size_t size, struct discord_edit_message *self)
size_t discord_embed_thumbnail_from_json(const char buf[], size_t size, struct discord_embed_thumbnail *self)
size_t discord_list_active_threads_to_json(char buf[], size_t size, const struct discord_list_active_threads *self)
size_t discord_embeds_from_json(const char buf[], size_t size, struct discord_embeds *self)
void discord_thread_response_body_init(struct discord_thread_response_body *self)
jsonbcode discord_messages_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_messages *self)
size_t discord_bulk_delete_messages_to_json(char buf[], size_t size, const struct discord_bulk_delete_messages *self)
jsonbcode discord_create_channel_invite_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_create_channel_invite *self)
void discord_embed_thumbnail_cleanup(struct discord_embed_thumbnail *self)
size_t discord_edit_message_to_json(char buf[], size_t size, const struct discord_edit_message *self)
void discord_channel_init(struct discord_channel *self)
size_t discord_start_thread_with_message_from_json(const char buf[], size_t size, struct discord_start_thread_with_message *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_start_thread_without_message_from_json(const char buf[], size_t size, struct discord_start_thread_without_message *self)
size_t discord_bulk_delete_messages_from_json(const char buf[], size_t size, struct discord_bulk_delete_messages *self)
size_t discord_followed_channel_from_json(const char buf[], size_t size, struct discord_followed_channel *self)
long discord_message_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_message *self)
jsonbcode discord_channels_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_channels *self)
void discord_embeds_cleanup(struct discord_embeds *self)
void discord_embed_footer_init(struct discord_embed_footer *self)
long discord_thread_response_body_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_thread_response_body *self)
size_t discord_channels_from_json(const char buf[], size_t size, struct discord_channels *self)
void discord_embed_image_cleanup(struct discord_embed_image *self)
size_t discord_messages_to_json(char buf[], size_t size, const struct discord_messages *self)
void discord_embed_field_init(struct discord_embed_field *self)
size_t discord_embed_fields_to_json(char buf[], size_t size, const struct discord_embed_fields *self)
void discord_embed_fields_cleanup(struct discord_embed_fields *self)
long discord_bulk_delete_messages_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_bulk_delete_messages *self)
void discord_bulk_delete_messages_cleanup(struct discord_bulk_delete_messages *self)
size_t discord_edit_channel_permissions_from_json(const char buf[], size_t size, struct discord_edit_channel_permissions *self)
void discord_start_thread_with_message_init(struct discord_start_thread_with_message *self)
size_t discord_embed_provider_from_json(const char buf[], size_t size, struct discord_embed_provider *self)
long discord_start_thread_with_message_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_start_thread_with_message *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_embed_image_to_json(char buf[], size_t size, const struct discord_embed_image *self)
discord_invite_target_types
Definition: invite.h:22
uint64_t u64snowflake
Snowflake datatype.
Definition: types.h:28
uint64_t u64bitmask
Bitmask primitive.
Definition: types.h:35
uint64_t u64unix_ms
Unix time in milliseconds.
Definition: types.h:22
char json_char
Raw JSON string.
Definition: types.h:44
jsonbcode
json-builder return codes
Definition: json-build.h:34
Definition: channel.h:561
struct snowflakes * users
Definition: channel.h:567
struct strings * parse
Definition: channel.h:563
struct snowflakes * roles
Definition: channel.h:565
bool replied_user
Definition: channel.h:570
Definition: application.h:35
Definition: channel.h:352
char * content
Definition: channel.h:354
char * url
Definition: channel.h:375
size_t size
Definition: channel.h:371
int width
Definition: channel.h:387
char * proxy_url
Definition: channel.h:379
char * content_type
Definition: channel.h:367
u64snowflake id
Definition: channel.h:356
bool ephemeral
Definition: channel.h:390
char * filename
Definition: channel.h:359
int height
Definition: channel.h:383
char * description
Definition: channel.h:363
Definition: channel.h:393
int size
Definition: channel.h:393
struct discord_attachment * array
Definition: channel.h:394
Definition: channel.h:755
char * reason
Definition: channel.h:757
struct snowflakes * messages
Definition: channel.h:759
Definition: channel.h:551
u64snowflake id
Definition: channel.h:553
u64snowflake guild_id
Definition: channel.h:555
enum discord_channel_types type
Definition: channel.h:557
char * name
Definition: channel.h:559
Definition: channel.h:122
struct discord_thread_member * member
Definition: channel.h:180
int default_auto_archive_duration
Definition: channel.h:184
int voice_quality_mode
Definition: channel.h:171
u64snowflake owner_id
Definition: channel.h:158
struct discord_overwrites * permission_overwrites
Definition: channel.h:135
int user_limit
Definition: channel.h:148
int bitrate
Definition: channel.h:146
char * icon
Definition: channel.h:156
struct discord_thread_metadata * thread_metadata
Definition: channel.h:177
u64snowflake application_id
Definition: channel.h:160
enum discord_channel_types type
Definition: channel.h:126
u64snowflake parent_id
Definition: channel.h:164
u64snowflake guild_id
Definition: channel.h:130
int member_count
Definition: channel.h:175
int position
Definition: channel.h:133
u64unix_ms last_pin_timestamp
Definition: channel.h:167
bool nsfw
Definition: channel.h:141
char * rtc_region
Definition: channel.h:169
char * name
Definition: channel.h:137
int rate_limit_per_user
Definition: channel.h:152
u64bitmask permissions
Definition: channel.h:188
u64snowflake last_message_id
Definition: channel.h:144
char * topic
Definition: channel.h:139
u64snowflake id
Definition: channel.h:124
struct discord_users * recipients
Definition: channel.h:154
int message_count
Definition: channel.h:173
Definition: channel.h:191
struct discord_channel * array
Definition: channel.h:192
int size
Definition: channel.h:191
Definition: message_components.h:101
Definition: channel.h:779
char * reason
Definition: channel.h:781
u64snowflake target_user_id
Definition: channel.h:807
int max_age
Definition: channel.h:785
bool temporary
Definition: channel.h:793
int max_uses
Definition: channel.h:789
bool unique
Definition: channel.h:798
enum discord_invite_target_types target_type
Definition: channel.h:802
u64snowflake target_application_id
Definition: channel.h:812
Definition: channel.h:683
struct discord_attachments * attachments
Definition: channel.h:708
struct discord_message_reference * message_reference
Definition: channel.h:696
struct discord_embeds * embeds
Definition: channel.h:689
u64bitmask flags
Definition: channel.h:713
char * content
Definition: channel.h:685
bool tts
Definition: channel.h:687
struct discord_allowed_mention * allowed_mentions
Definition: channel.h:692
struct discord_components * components
Definition: channel.h:700
struct snowflakes * sticker_ids
Definition: channel.h:704
Definition: channel.h:815
char * reason
Definition: channel.h:817
Definition: channel.h:660
char * reason
Definition: channel.h:662
Definition: channel.h:750
char * reason
Definition: channel.h:752
Definition: channel.h:762
u64bitmask deny
Definition: channel.h:773
char * reason
Definition: channel.h:764
int type
Definition: channel.h:776
u64bitmask allow
Definition: channel.h:768
Definition: channel.h:727
struct discord_components * components
Definition: channel.h:743
u64bitmask flags
Definition: channel.h:735
struct discord_embeds * embeds
Definition: channel.h:731
char * content
Definition: channel.h:729
struct discord_allowed_mention * allowed_mentions
Definition: channel.h:739
struct discord_attachments * attachments
Definition: channel.h:747
Definition: channel.h:509
char * url
Definition: channel.h:514
char * icon_url
Definition: channel.h:518
char * name
Definition: channel.h:511
char * proxy_icon_url
Definition: channel.h:522
Definition: channel.h:539
char * value
Definition: channel.h:543
char * name
Definition: channel.h:541
bool Inline
Definition: channel.h:545
Definition: channel.h:548
int size
Definition: channel.h:548
struct discord_embed_field * array
Definition: channel.h:549
Definition: channel.h:481
int height
Definition: channel.h:490
int width
Definition: channel.h:494
char * proxy_url
Definition: channel.h:486
char * url
Definition: channel.h:483
Definition: channel.h:498
char * url
Definition: channel.h:505
char * name
Definition: channel.h:501
Definition: channel.h:445
char * url
Definition: channel.h:447
int width
Definition: channel.h:458
char * proxy_url
Definition: channel.h:450
int height
Definition: channel.h:454
Definition: channel.h:462
int width
Definition: channel.h:477
int height
Definition: channel.h:473
char * proxy_url
Definition: channel.h:469
char * url
Definition: channel.h:465
Definition: channel.h:397
char * description
Definition: channel.h:403
struct discord_embed_footer * footer
Definition: channel.h:416
char * title
Definition: channel.h:399
int color
Definition: channel.h:412
u64unix_ms timestamp
Definition: channel.h:408
struct discord_embed_image * image
Definition: channel.h:420
struct discord_embed_provider * provider
Definition: channel.h:431
struct discord_embed_fields * fields
Definition: channel.h:437
struct discord_embed_video * video
Definition: channel.h:428
char * type
Definition: channel.h:401
struct discord_embed_author * author
Definition: channel.h:434
struct discord_embed_thumbnail * thumbnail
Definition: channel.h:424
char * url
Definition: channel.h:405
Definition: channel.h:441
int size
Definition: channel.h:441
struct discord_embed * array
Definition: channel.h:442
Definition: channel.h:820
u64snowflake webhook_channel_id
Definition: channel.h:823
Definition: channel.h:286
u64snowflake webhook_id
Definition: channel.h:290
u64snowflake channel_id
Definition: channel.h:288
Definition: channel.h:664
u64snowflake after
Definition: channel.h:675
u64snowflake around
Definition: channel.h:667
u64snowflake before
Definition: channel.h:671
int limit
Definition: channel.h:679
Definition: channel.h:716
u64snowflake after
Definition: channel.h:719
int limit
Definition: channel.h:723
Definition: channel.h:835
char * nick
Definition: channel.h:839
char * access_token
Definition: channel.h:837
Definition: channel.h:881
bool has_more
Definition: channel.h:893
struct discord_thread_members * members
Definition: channel.h:889
struct discord_channels * threads
Definition: channel.h:884
Definition: channel.h:268
enum discord_message_activity_types type
Definition: channel.h:270
char * party_id
Definition: channel.h:272
Definition: interactions.h:112
Definition: channel.h:274
u64snowflake guild_id
Definition: channel.h:280
u64snowflake message_id
Definition: channel.h:276
bool fail_if_not_exists
Definition: channel.h:283
u64snowflake channel_id
Definition: channel.h:278
Definition: channel.h:195
struct discord_embeds * embeds
Definition: channel.h:228
enum discord_message_types type
Definition: channel.h:238
u64snowflake application_id
Definition: channel.h:245
struct discord_channel * thread
Definition: channel.h:257
struct discord_channels * mention_channels
Definition: channel.h:224
struct discord_application * application
Definition: channel.h:242
u64snowflake guild_id
Definition: channel.h:201
u64snowflake id
Definition: channel.h:197
u64bitmask flags
Definition: channel.h:250
struct discord_reactions * reactions
Definition: channel.h:230
u64unix_ms edited_timestamp
Definition: channel.h:212
struct discord_message_interaction * interaction
Definition: channel.h:254
struct discord_components * components
Definition: channel.h:260
struct discord_message_activity * activity
Definition: channel.h:240
struct discord_sticker_items * sticker_items
Definition: channel.h:262
struct discord_attachments * attachments
Definition: channel.h:226
bool mention_everyone
Definition: channel.h:217
u64snowflake webhook_id
Definition: channel.h:236
struct discord_message * referenced_message
Definition: channel.h:252
struct discord_users * mentions
Definition: channel.h:220
char * content
Definition: channel.h:207
struct discord_guild_member * member
Definition: channel.h:205
struct snowflakes * mention_roles
Definition: channel.h:222
struct discord_user * author
Definition: channel.h:203
bool tts
Definition: channel.h:215
u64snowflake channel_id
Definition: channel.h:199
struct discord_message_reference * message_reference
Definition: channel.h:248
bool pinned
Definition: channel.h:234
u64unix_ms timestamp
Definition: channel.h:209
json_char * nonce
Definition: channel.h:232
Definition: channel.h:265
int size
Definition: channel.h:265
struct discord_message * array
Definition: channel.h:266
Definition: channel.h:587
int rate_limit_per_user
Definition: channel.h:616
bool invitable
Definition: channel.h:658
struct discord_overwrites * permission_overwrites
Definition: channel.h:625
u64snowflake parent_id
Definition: channel.h:629
int auto_archive_duration
Definition: channel.h:651
int position
Definition: channel.h:602
int default_auto_archive_duration
Definition: channel.h:643
char * name
Definition: channel.h:591
char * reason
Definition: channel.h:589
bool nsfw
Definition: channel.h:610
bool archived
Definition: channel.h:647
char * rtc_region
Definition: channel.h:633
int user_limit
Definition: channel.h:621
char * topic
Definition: channel.h:606
int video_quality_mode
Definition: channel.h:637
enum discord_channel_types type
Definition: channel.h:598
bool locked
Definition: channel.h:655
Definition: channel.h:303
u64bitmask allow
Definition: channel.h:309
u64snowflake id
Definition: channel.h:305
u64bitmask deny
Definition: channel.h:311
int type
Definition: channel.h:307
Definition: channel.h:313
int size
Definition: channel.h:313
struct discord_overwrite * array
Definition: channel.h:314
Definition: channel.h:826
char * reason
Definition: channel.h:828
Definition: channel.h:292
bool me
Definition: channel.h:296
int count
Definition: channel.h:294
struct discord_emoji * emoji
Definition: channel.h:298
Definition: channel.h:300
int size
Definition: channel.h:300
struct discord_reaction * array
Definition: channel.h:301
Definition: channel.h:842
char * name
Definition: channel.h:846
char * reason
Definition: channel.h:844
int rate_limit_per_user
Definition: channel.h:855
int auto_archive_duration
Definition: channel.h:850
Definition: channel.h:859
enum discord_channel_types type
Definition: channel.h:870
char * name
Definition: channel.h:863
int auto_archive_duration
Definition: channel.h:867
char * reason
Definition: channel.h:861
int rate_limit_per_user
Definition: channel.h:877
bool invitable
Definition: channel.h:873
Definition: channel.h:336
u64snowflake guild_id
Definition: channel.h:346
u64bitmask flags
Definition: channel.h:344
u64unix_ms join_timestamp
Definition: channel.h:342
u64snowflake user_id
Definition: channel.h:340
u64snowflake id
Definition: channel.h:338
Definition: channel.h:349
int size
Definition: channel.h:349
struct discord_thread_member * array
Definition: channel.h:350
Definition: channel.h:573
struct discord_thread_members * members
Definition: channel.h:578
struct discord_channels * threads
Definition: channel.h:575
bool has_more
Definition: channel.h:581
Definition: channel.h:830
char * reason
Definition: channel.h:832
Handle for building a JSON string.
Definition: json-build.h:61