persistConversation

abstract suspend fun persistConversation(conversation: <Error class: unknown class>, selfUserTeamId: String?, originatedFromEvent: Boolean = false): Either<CoreFailure, Boolean>

Creates a conversation from a new event

Return

Either - true if the conversation was created, false if it was already present

Parameters

conversation

from event

selfUserTeamId
  • self user team id if team user