interface RawMessage {
    activity?: MessageActivity;
    application?: RawApplication;
    application_id?: string;
    attachments: RawAttachment[];
    author: RawUser;
    channel_id: string;
    components?: RawMessageActionRow[];
    content: string;
    edited_timestamp: null | string;
    embeds: RawEmbed[];
    flags?: number;
    guild_id?: string;
    id: string;
    interaction?: RawMessageInteraction;
    interaction_metadata?: RawMessageInteractionMetadata;
    member?: RawMember;
    mention_channels?: ChannelMention[];
    mention_everyone: boolean;
    mention_roles: string[];
    mentions: RawUserWithMember[];
    message_reference?: RawMessageReference;
    nonce?: string | number;
    pinned: boolean;
    poll?: RawPoll;
    position?: number;
    reactions?: RawMessageReaction[];
    referenced_message?: null | RawMessage;
    role_subscription_data?: RawRoleSubscriptionData;
    sticker_items?: StickerItem[];
    thread?: RawAnnouncementThreadChannel | RawPublicThreadChannel | RawPrivateThreadChannel;
    timestamp: string;
    tts: boolean;
    type: MessageTypes;
    webhook_id?: string;
}

Properties

activity?: MessageActivity
application?: RawApplication
application_id?: string
attachments: RawAttachment[]
author: RawUser
channel_id: string
components?: RawMessageActionRow[]
content: string
edited_timestamp: null | string
embeds: RawEmbed[]
flags?: number
guild_id?: string
id: string
interaction?: RawMessageInteraction

Deprecated

interaction_metadata?: RawMessageInteractionMetadata
member?: RawMember
mention_channels?: ChannelMention[]
mention_everyone: boolean
mention_roles: string[]
mentions: RawUserWithMember[]
message_reference?: RawMessageReference
nonce?: string | number
pinned: boolean
poll?: RawPoll
position?: number
reactions?: RawMessageReaction[]
referenced_message?: null | RawMessage
role_subscription_data?: RawRoleSubscriptionData
sticker_items?: StickerItem[]
timestamp: string
tts: boolean
webhook_id?: string