removeMemberFromConversation

suspend fun removeMemberFromConversation(    context: Context,     conversationId: Int,     user: STWRecipientSingle,     timeout: Long = 10000): ApiResult<Boolean>

Call this method to remove a user from a group conversation.

This method should be called only from a coroutine or another suspend function

The given conversation should be a group ConversationTypes.GROUP

The user can remove a subscriber from the given conversation, only if :

.he is a regular admin or an admin initiator in the conversation. .the current conversation is exist and active. .the removedInternationalNumber is not the admin initiator of this conversation. .this conversation is not related to a MyBusiness process. .not an emergency conversation.

Return

ApiResult This is the callback that will be invoked to handle operation result:

    Success : the remove member request is successfully sent to the server.
    Error : a local error occurred when trying to send this request to the server

Parameters

context

The application context

conversationId

Conversation ID.

user

The removed user MSISDN