Concord - C Discord API library
A Discord API wrapper library written in C
Message flags
Collaboration diagram for Message flags:

Macros

#define DISCORD_MESSAGE_CROSSPOSTED   1 << 0
 
#define DISCORD_MESSAGE_IS_CROSSPOST   1 << 1
 
#define DISCORD_MESSAGE_SUPPRESS_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 DISCORD_MESSAGE_SUPPRESS_NOTIFICATIONS   1 << 12
 
#define DISCORD_MESSAGE_IS_VOICE_MESSAGE   1 << 13
 
#define DISCORD_MESSAGE_HAS_COMPONENTS_V2   1 << 15
 

Detailed Description

Macro Definition Documentation

◆ DISCORD_MESSAGE_CROSSPOSTED

#define DISCORD_MESSAGE_CROSSPOSTED   1 << 0

this message has been published to subscribed channels (via Channel Following)

◆ DISCORD_MESSAGE_IS_CROSSPOST

#define DISCORD_MESSAGE_IS_CROSSPOST   1 << 1

this message originated from a message in another channel (via Channel Following)

◆ DISCORD_MESSAGE_SUPPRESS_EMBEDS

#define DISCORD_MESSAGE_SUPPRESS_EMBEDS   1 << 2

do not include any embed when serializing this message

◆ DISCORD_MESSAGE_SOURCE_MESSAGE_DELETED

#define DISCORD_MESSAGE_SOURCE_MESSAGE_DELETED   1 << 3

the source message for this crosspost has been deleted (via Channel Following)

◆ DISCORD_MESSAGE_URGENT

#define DISCORD_MESSAGE_URGENT   1 << 4

this message came from the urgent message system

◆ DISCORD_MESSAGE_HAS_THREAD

#define DISCORD_MESSAGE_HAS_THREAD   1 << 5

this message has an associated thread, with the same ID as the message

◆ DISCORD_MESSAGE_EPHEMERAL

#define DISCORD_MESSAGE_EPHEMERAL   1 << 6

this message is only visible to the user who invoked the interaction

Examples
components.c, and slash-commands2.c.

◆ DISCORD_MESSAGE_LOADING

#define DISCORD_MESSAGE_LOADING   1 << 7

this message is an interaction response and the bot is thinking

◆ DISCORD_MESSAGE_FAILED_TO_MENTION_SOME_ROLES_IN_THREAD

#define DISCORD_MESSAGE_FAILED_TO_MENTION_SOME_ROLES_IN_THREAD   1 << 8

this message failed to mention some roles and add the members to the thread

◆ DISCORD_MESSAGE_SUPPRESS_NOTIFICATIONS

#define DISCORD_MESSAGE_SUPPRESS_NOTIFICATIONS   1 << 12

this message will not trigger push and desktop notifications

◆ DISCORD_MESSAGE_IS_VOICE_MESSAGE

#define DISCORD_MESSAGE_IS_VOICE_MESSAGE   1 << 13

this message is a voice message

◆ DISCORD_MESSAGE_HAS_COMPONENTS_V2

#define DISCORD_MESSAGE_HAS_COMPONENTS_V2   1 << 15

this message is a components v2 utilizing message