MCPcopy
hub / github.com/mattermost/mattermost / DeletePermanently

Method DeletePermanently

server/public/pluginapi/bot.go:110–112  ·  view source on GitHub ↗

DeletePermanently permanently deletes a bot and its corresponding user. Minimum server version: 5.10

(botUserID string)

Source from the content-addressed store, hash-verified

108//
109// Minimum server version: 5.10
110func (b *BotService) DeletePermanently(botUserID string) error {
111 return normalizeAppErr(b.api.PermanentDeleteBot(botUserID))
112}
113
114type ensureBotOptions struct {
115 ProfileImagePath string

Callers 1

TestDeleteBotPermanentlyFunction · 0.80

Calls 2

normalizeAppErrFunction · 0.70
PermanentDeleteBotMethod · 0.65

Tested by 1

TestDeleteBotPermanentlyFunction · 0.64