(commandKey: string)
| 389 | } |
| 390 | |
| 391 | private resolveInlineCommand(commandKey: string): BotCommand | undefined { |
| 392 | const resolved = resolveCommand(commandKey); |
| 393 | if (resolved) { |
| 394 | return resolved; |
| 395 | } |
| 396 | |
| 397 | return INLINE_COMMANDS[commandKey]; |
| 398 | } |
| 399 | |
| 400 | private resolveSlashCommand(commandName: string): BotCommand | undefined { |
| 401 | if (commandName === "/new") { |
no test coverage detected