i MAdmin
open fun iMAdmin(@NonNull context: Context, @Nullable conversationId: String): Boolean
Content copied to clipboard
Call this method to check if i'm an administrator in a group conversation :
- I'm an admin initiator
- I'm a regular administrator.
- or if the conversation without administrators, contains only groups
The given conversation should :
- be a group group conversation (THREAD_TYPE_GROUP).
- exist.
- not related to a MyBusiness process.
- not an emergency conversation.
Return
true if i'm an administrator
Parameters
context
The application context
conversation Id
Conversation ID.