IMSDK
IM features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication. It also provides complete app access and backend management APIs.
V2TIMGroupMemberOperationResult

Public Member Functions

String getMemberID ()
 
int getResult ()
 

Static Public Attributes

static final int OPERATION_RESULT_FAIL = 0
 
static final int OPERATION_RESULT_SUCC = 1
 
static final int OPERATION_RESULT_INVALID = 2
 
static final int OPERATION_RESULT_PENDING = 3
 
static final int OPERATION_RESULT_OVERLIMIT = 4
 

Member Function Documentation

◆ getMemberID()

String getMemberID ( )
inline

Get the userID of a group member

Returns
Group member's userID

◆ getResult()

int getResult ( )
inline

Return the operation result

Returns

Field Documentation

◆ OPERATION_RESULT_FAIL

final int OPERATION_RESULT_FAIL = 0
static

Operation failed

◆ OPERATION_RESULT_SUCC

final int OPERATION_RESULT_SUCC = 1
static

Operation succeeded

◆ OPERATION_RESULT_INVALID

final int OPERATION_RESULT_INVALID = 2
static

Invalid operation: already in the group when being added to the group, or not in the group when being removed from the group

◆ OPERATION_RESULT_PENDING

final int OPERATION_RESULT_PENDING = 3
static

To be processed: waiting to be approved when being invited to join a group

◆ OPERATION_RESULT_OVERLIMIT

final int OPERATION_RESULT_OVERLIMIT = 4
static

Operation failed: when specifying the initial group member list or inviting a user to join the group during group creation, the total number of groups that the invitee joins exceeds the limit