LogoRobo.js
Packages@robojs/mock

MockMessageConfig

Interface: MockMessageConfig

Configuration for creating a mock message

Properties

PropertyTypeDescription
attachments?MockAttachment[]-
authorIdstring-
call?MockMessageCall-
channelIdstring-
components?unknown[]-
content?string-
embeds?unknown[]-
flags?number-
guildId?string-
id?string-
interactionMetadata?MockMessageInteractionMetadata-
interactionName?string-
mentions?string[]User IDs that are mentioned in this message
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-
messageSnapshots?MockMessageSnapshot[]-
nonce?null | string | numberMessage nonce for deduplication
poll?MockPollConfig-
position?number-
resolved?unknown-
roleSubscriptionData?{ isRenewal: boolean; roleSubscriptionListingId: string; tierName: string; totalMonthsSubscribed: number; }-
roleSubscriptionData.isRenewalboolean-
roleSubscriptionData.roleSubscriptionListingIdstring-
roleSubscriptionData.tierNamestring-
roleSubscriptionData.totalMonthsSubscribednumber-
sticker_ids?string[]-
tts?boolean-
type?number-

On this page