getAllChats

fun getAllChats(onCompletion: (Either<List<Chat>, SippoResourceError>) -> Unit)

Fetches both individual and group chats related to this user.

Parameters

onCompletion

Callback that will be invoked when the request is completed. In case of error, it will emit a SippoResourceError.