remove Regular Admins
open fun removeRegularAdmins( @NonNull context: Context, @NonNull conversationId: String, @NonNull adminPhoneNumberList: List<String>, @Nullable callback: STWOperationCallback<MessagingError>)
Content copied to clipboard
Call this method to remove the regular admin list from the current group conversation, means the adminPhoneNumberList will be all a simple members
The given conversation should
- be a group group conversation (THREAD_TYPE_GROUP).
- exist and active.
- not related to a MyBusiness process.
- not an emergency conversation.
The given adminPhoneNumberList should be present in the current group conversation as a regular admins
See also
Parameters
context
The application context
conversation Id
Conversation ID.
admin Phone Number List
A list of international phone number of the regular admins.
callback
This callback will be invoked to handle operation result :
- Success : the remove admin request is successfully sent to the server
- Error : a local error occurred when trying to send this request to the server