MattermostBotsApi class

Constructors

MattermostBotsApi(MattermostApiClient apiClient)

Properties

apiClient MattermostApiClient
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

assignBot(String botUserId, String userId) Future<MmBot?>
Assign a bot to a user
assignBotWithHttpInfo(String botUserId, String userId) Future<Response>
Assign a bot to a user
convertBotToUser(String botUserId, MmConvertBotToUserRequest mmConvertBotToUserRequest, {bool? setSystemAdmin}) Future<MmStatusOK?>
Convert a bot into a user
convertBotToUserWithHttpInfo(String botUserId, MmConvertBotToUserRequest mmConvertBotToUserRequest, {bool? setSystemAdmin}) Future<Response>
Convert a bot into a user
convertUserToBot(String userId) Future<MmStatusOK?>
Convert a user into a bot
convertUserToBotWithHttpInfo(String userId) Future<Response>
Convert a user into a bot
createBot(MmCreateBotRequest mmCreateBotRequest) Future<MmBot?>
Create a bot
createBotWithHttpInfo(MmCreateBotRequest mmCreateBotRequest) Future<Response>
Create a bot
deleteBotIconImage(String botUserId) Future<MmStatusOK?>
Delete bot's LHS icon image
deleteBotIconImageWithHttpInfo(String botUserId) Future<Response>
Delete bot's LHS icon image
disableBot(String botUserId) Future<MmBot?>
Disable a bot
disableBotWithHttpInfo(String botUserId) Future<Response>
Disable a bot
enableBot(String botUserId) Future<MmBot?>
Enable a bot
enableBotWithHttpInfo(String botUserId) Future<Response>
Enable a bot
getBot(String botUserId, {bool? includeDeleted}) Future<MmBot?>
Get a bot
getBotIconImage(String botUserId) Future<void>
Get bot's LHS icon
getBotIconImageWithHttpInfo(String botUserId) Future<Response>
Get bot's LHS icon
getBots({int? page, int? perPage, bool? includeDeleted, bool? onlyOrphaned}) Future<List<MmBot>?>
Get bots
getBotsWithHttpInfo({int? page, int? perPage, bool? includeDeleted, bool? onlyOrphaned}) Future<Response>
Get bots
getBotWithHttpInfo(String botUserId, {bool? includeDeleted}) Future<Response>
Get a bot
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patchBot(String botUserId, MmCreateBotRequest mmCreateBotRequest) Future<MmBot?>
Patch a bot
patchBotWithHttpInfo(String botUserId, MmCreateBotRequest mmCreateBotRequest) Future<Response>
Patch a bot
setBotIconImage(String botUserId, MultipartFile image) Future<MmStatusOK?>
Set bot's LHS icon image
setBotIconImageWithHttpInfo(String botUserId, MultipartFile image) Future<Response>
Set bot's LHS icon image
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited