Execute executes a slash command. Minimum server version: 5.26
(command *model.CommandArgs)
| 29 | // |
| 30 | // Minimum server version: 5.26 |
| 31 | func (c *SlashCommandService) Execute(command *model.CommandArgs) (*model.CommandResponse, error) { |
| 32 | return c.api.ExecuteSlashCommand(command) |
| 33 | } |
| 34 | |
| 35 | // Create creates a server-owned slash command that is not handled by the plugin |
| 36 | // itself, and which will persist past the life of the plugin. The command will have its |