MCPcopy
hub / github.com/mattermost/mattermost / GetBot

Method GetBot

server/public/plugin/api.go:1062–1062  ·  view source on GitHub ↗

GetBot returns the given bot. @tag Bot Minimum server version: 5.10

(botUserId string, includeDeleted bool)

Source from the content-addressed store, hash-verified

1060 // @tag Bot
1061 // Minimum server version: 5.10
1062 GetBot(botUserId string, includeDeleted bool) (*model.Bot, *model.AppError)
1063
1064 // GetBots returns the requested page of bots.
1065 //

Callers 15

GetBotMethod · 0.65
GetBotMethod · 0.65
GetMethod · 0.65
GetBotMethod · 0.65
TestEnsureBotFunction · 0.65
TestGetBotFunction · 0.65
TestPermanentDeleteBotFunction · 0.65
TestDisableUserBotsFunction · 0.65
MessageWillBePostedMethod · 0.65
TestConvertUserToBotFunction · 0.65
getBotFunction · 0.65

Calls

no outgoing calls

Tested by 12

TestEnsureBotFunction · 0.52
TestGetBotFunction · 0.52
TestPermanentDeleteBotFunction · 0.52
TestDisableUserBotsFunction · 0.52
TestConvertUserToBotFunction · 0.52
TestPatchBotFunction · 0.52
TestGetBotFunction · 0.52
TestAssignBotFunction · 0.52
TestConvertBotToUserFunction · 0.52
TestBotEnableCmdMethod · 0.52
TestBotDisableCmdMethod · 0.52