(userID string, includeDeleted bool)
| 1173 | } |
| 1174 | |
| 1175 | func (api *PluginAPI) GetBot(userID string, includeDeleted bool) (*model.Bot, *model.AppError) { |
| 1176 | return api.app.GetBot(api.ctx, userID, includeDeleted) |
| 1177 | } |
| 1178 | |
| 1179 | func (api *PluginAPI) GetBots(options *model.BotGetOptions) ([]*model.Bot, *model.AppError) { |
| 1180 | bots, err := api.app.GetBots(api.ctx, options) |
nothing calls this directly
no test coverage detected