messageContent constant
int
const messageContent
Includes public content of messages in guilds (content, embeds, attachments, components) If your bot is mentioned it will always receive full message If you are not opted in for message content intent you will receive empty fields
Implementation
static const int messageContent = 1 << 15;