public class RestConnectorBuilderKt
@NotNull
public static ai.tock.bot.connector.ConnectorConfiguration addRestConnector(@NotNull
java.lang.String applicationId,
@NotNull
java.lang.String path,
@NotNull
java.lang.String name,
@Nullable
java.lang.String baseUrl,
@Nullable
ai.tock.bot.connector.ConnectorType ownerConnectorType)
Adds a rest connector.
applicationId - Application id. Must be unique.path - The http listening base path.name - The name of the application.baseUrl - The base url for the connector path.ownerConnectorType - The owner of the rest connector (if applicable)@NotNull
public static ai.tock.bot.connector.ConnectorConfiguration addRestConnector(@NotNull
ai.tock.bot.admin.bot.BotApplicationConfiguration botConfiguration)
Returns a rest configuration from a base configuration.