invoke
open suspend operator override fun invoke(conversationId: ConversationId, mutedConversationStatus: MutedConversationStatus, mutedStatusTimestamp: Instant = DateTimeUtil.currentInstant()): ConversationUpdateStatusResult
Use case that allows a conversation to change its muted status to: MutedConversationStatus.AllMuted, MutedConversationStatus.AllAllowed or MutedConversationStatus.OnlyMentionsAndRepliesAllowed
Return
an ConversationUpdateStatusResult containing Success or Failure cases
Parameters
conversationId
the id of the conversation where status wants to be changed
mutedConversationStatus
new status to set the given conversation