public interface BotsApi
| Modifier and Type | Method and Description |
|---|---|
ApiResponse<Bot> |
assignBotToUser(String botUserId,
String ownerUserId)
Assign a bot to a user.
|
ApiResponse<Bot> |
createBot(BotPatch bot)
Create a bot.
|
ApiResponse<Bot> |
disableBot(String botUserId)
Disable a bot.
|
ApiResponse<Bot> |
enableBot(String botUserId)
Enable a bot.
|
default ApiResponse<Bot> |
getBot(String botUserId)
Get a bot exclude deleted.
|
ApiResponse<Bot> |
getBot(String botUserId,
boolean includeDeleted)
Get a bot.
|
default ApiResponse<Bots> |
getBots()
Get bots.
|
default ApiResponse<Bots> |
getBots(GetBotsOption option)
Get bots.
|
ApiResponse<Bots> |
getBots(Pager pager,
GetBotsOption option)
Get bots.
|
ApiResponse<Bot> |
patchBot(String botUserId,
BotPatch patch)
Patch a bot.
|
ApiResponse<Bot> createBot(BotPatch bot)
ApiResponse<Bot> patchBot(String botUserId, BotPatch patch)
default ApiResponse<Bot> getBot(String botUserId)
ApiResponse<Bot> getBot(String botUserId, boolean includeDeleted)
default ApiResponse<Bots> getBots()
GetBotsOptiondefault ApiResponse<Bots> getBots(GetBotsOption option)
ApiResponse<Bots> getBots(Pager pager, GetBotsOption option)
ApiResponse<Bot> disableBot(String botUserId)
ApiResponse<Bot> enableBot(String botUserId)
ApiResponse<Bot> assignBotToUser(String botUserId, String ownerUserId)
Copyright © 2019. All rights reserved.