LogoRobo.js
Packages@robojs/mock

DispatchContextMenuOptions

Interface: DispatchContextMenuOptions

Options for dispatching a context menu interaction

Properties

PropertyTypeDescription
channelId?stringChannel ID (required for MESSAGE commands, optional for USER in guild)
commandNamestringCommand name (e.g., "Get Info", "Report Message")
contextMenuType2 | 3Context menu type: 2=USER, 3=MESSAGE
guildId?stringGuild ID (optional, derived from channel/target)
targetIdstringTarget user ID (for USER commands) or message ID (for MESSAGE commands)
user?MockUserConfigUser who invoked the command

On this page