createChat

fun createChat(creationType: CreationType, onCompletion: (Either<Chat, SippoResourceError>) -> Unit)

Creates a new chat.

Parameters

creationType

creationType to be created.

onCompletion

Callback that will be invoked when the request is completed. It will receive a SippoResourceError if any error occurs. In case of success, error will be null.