invoke
open suspend operator override fun invoke(conversationId: <Error class: unknown class>, userId: <Error class: unknown class>, role: <Error class: unknown class>): UpdateConversationMemberRoleResult
Use case that allows a conversation member to change its role to: Member.Role.Admin or Member.Role.Member
Return
an ConversationUpdateStatusResult containing Success or Failure cases
Parameters
conversationId
the id of the conversation where status wants to be changed
role
new status to set the given conversation