persistConversation

open suspend override fun persistConversation(conversation: <Error class: unknown class>, selfUserTeamId: String?, originatedFromEvent: Boolean): 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