2using System.Collections.Generic;
4using System.Threading.Tasks;
Common base of entities with IDs.
virtual ? long Id
The ID of the entity.
Metadata about a server instance.
Represents a request to update a chat bot.
Represents a request to update a chat bot.
Represents a chat bot response.
Routes to a server actions.
static string SetID(string route, long id)
Apply an id postfix to a route .
static string ListRoute(string route)
Get the /List postfix for a route .
const string Chat
The chat bot controller.
ValueTask Delete(string route, CancellationToken cancellationToken)
Run an HTTP DELETE request.A ValueTask representing the running operation.
ValueTask< ChatBotResponse > GetId(EntityId settingsId, CancellationToken cancellationToken)
Get a specific chat bot's settings.A ValueTask<TResult> resulting in the ChatBotResponse.
ChatBotsClient(IApiClient apiClient, Instance instance)
Initializes a new instance of the ChatBotsClient class.
ValueTask< ChatBotResponse > Update(ChatBotUpdateRequest settings, CancellationToken cancellationToken)
Updates a chat bot's setttings.A ValueTask<TResult> resulting in the updated chat bot's ChatBotRespon...
ValueTask< List< ChatBotResponse > > List(PaginationSettings? paginationSettings, CancellationToken cancellationToken)
List the chat bots.A ValueTask<TResult> resulting in a List<T> of the ChatBotResponses.
ValueTask Delete(EntityId settingsId, CancellationToken cancellationToken)
Delete a chat bot.A ValueTask representing the running operation.
ValueTask< ChatBotResponse > Create(ChatBotCreateRequest settings, CancellationToken cancellationToken)
Create a chat bot.A ValueTask<TResult> resulting in the ChatBotResponse of the newly created chat bot...
readonly Instance instance
The Instance for the ChatBotsClient.
Client that deals with getting paginated results.
For managing the chat bots.
Web interface for the API.