startChatWithAiBot

open fun startChatWithAiBot(    @NonNull context: Context,     @NonNull botId: String,     isDistinct: Boolean,     @Nullable handler: CompletionHandler)

Initiates a group channel with the provided bot ID.

Parameters

botId

The bot ID that is created in dashboard.

isDistinct

Determines whether to reuse an existing channel or create a new channel.

handler

The callback handler that lets you know if the request was successful or not. since 3.8.0