detritus

MessageCreateinterface

Interface GatewayRawEvents.MessageCreate from detritus-client.

On this page
import { GatewayRawEvents } from 'detritus-client';

GatewayRawEvents.MessageCreate;

Properties

activity?
{ cover_image?: string; name?: string; party_id: string; type: number }
optional
application?
{ cover_image: string | null; description: string; icon: string | null; id: string; name: string; primary_sku_id: string }
optional
attachments?
author
call?
{ ended_timestamp: string | null; participiants: string[] }
optional
channel_id
string
components?
optional
content
string
edited_timestamp?
string
optional
embeds?
optional
guild_id?
string
optional
id
string
member?
mention_channels?
optional
mention_everyone
boolean
mention_roles
string[]
mentions
{ bot: boolean; discriminator: string; id: string; member?: RawMemberWithoutUser; username: string }[]
message_reference?
{ channel_id: string; guild_id?: string; message_id: string }
optional
nonce
string | null
pinned
boolean
stickers?
optional
timestamp
string
tts
boolean
type
number
webhook_id?
string
optional