Packages@robojs/mock
DispatchContextMenuOptions
Interface: DispatchContextMenuOptions
Options for dispatching a context menu interaction
Properties
| Property | Type | Description |
|---|---|---|
channelId? | string | Channel ID (required for MESSAGE commands, optional for USER in guild) |
commandName | string | Command name (e.g., "Get Info", "Report Message") |
contextMenuType | 2 | 3 | Context menu type: 2=USER, 3=MESSAGE |
guildId? | string | Guild ID (optional, derived from channel/target) |
targetId | string | Target user ID (for USER commands) or message ID (for MESSAGE commands) |
user? | MockUserConfig | User who invoked the command |
