LogoRobo.js
Packages@robojs/mock

MockMessage

Interface: MockMessage

Mock message data

Properties

PropertyType
attachmentsMockAttachment[]
authorIdstring
call?MockMessageCall
channelIdstring
components?unknown[]
contentstring
editedTimestampnull | string
embedsunknown[]
flags?number
guildId?string
idstring
interaction?MockMessageInteraction
interaction_metadata?MockMessageInteractionMetadata
mentionEveryoneboolean
mentionRolesstring[]
mentionsstring[]
message_reference?{ channel_id: string; guild_id: string; message_id: string; }
message_reference.channel_id?string
message_reference.guild_id?string
message_reference.message_id?string
message_snapshots?MockMessageSnapshot[]
nonce?null | string | number
pinnedboolean
poll?MockPoll
position?number
reactions?MockReaction[]
resolved?unknown
roleSubscriptionData?{ isRenewal: boolean; roleSubscriptionListingId: string; tierName: string; totalMonthsSubscribed: number; }
roleSubscriptionData.isRenewalboolean
roleSubscriptionData.roleSubscriptionListingIdstring
roleSubscriptionData.tierNamestring
roleSubscriptionData.totalMonthsSubscribednumber
sticker_items?MockStickerItem[]
timestampstring
ttsboolean
typenumber

On this page