get Recipient Admin Role In Group Conversation
open fun getRecipientAdminRoleInGroupConversation( @NonNull context: Context, @NonNull recipientPhoneNumber: String, @NonNull conversationId: String): Int
Content copied to clipboard
Call this method to retrieve the recipient role in the group conversation
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.
Return
The admin role of the current recipient in the given conversation. return UNKNOWN if recipient null or not found or conversation not found
See also
Parameters
context
The application context
recipient Phone Number
The recipient international number
conversation Id
Conversation ID.