Packages@robojs/mock
MockMessageConfig
Interface: MockMessageConfig
Configuration for creating a mock message
Properties
| Property | Type | Description |
|---|---|---|
attachments? | MockAttachment[] | - |
authorId | string | - |
call? | MockMessageCall | - |
channelId | string | - |
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 | number | Message nonce for deduplication |
poll? | MockPollConfig | - |
position? | number | - |
resolved? | unknown | - |
roleSubscriptionData? | { isRenewal: boolean; roleSubscriptionListingId: string; tierName: string; totalMonthsSubscribed: number; } | - |
roleSubscriptionData.isRenewal | boolean | - |
roleSubscriptionData.roleSubscriptionListingId | string | - |
roleSubscriptionData.tierName | string | - |
roleSubscriptionData.totalMonthsSubscribed | number | - |
sticker_ids? | string[] | - |
tts? | boolean | - |
type? | number | - |
