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.
<V2TIMGroupListener>

Instance Methods

(void) - onMemberEnter:memberList:
 
(void) - onMemberLeave:member:
 
(void) - onMemberInvited:opUser:memberList:
 
(void) - onMemberKicked:opUser:memberList:
 
(void) - onMemberInfoChanged:changeInfoList:
 
(void) - onGroupCreated:
 
(void) - onGroupDismissed:opUser:
 
(void) - onGroupRecycled:opUser:
 
(void) - onGroupInfoChanged:changeInfoList:
 
(void) - onGroupAttributeChanged:attributes:
 
(void) - onReceiveJoinApplication:member:opReason:
 
(void) - onApplicationProcessed:opUser:opResult:opReason:
 
(void) - onGrantAdministrator:opUser:memberList:
 
(void) - onRevokeAdministrator:opUser:memberList:
 
(void) - onQuitFromGroup:
 
(void) - onReceiveRESTCustomData:data:
 

Method Documentation

◆ onMemberEnter:memberList:()

- (void) onMemberEnter: (NSString *)  groupID
memberList: (NSArray< V2TIMGroupMemberInfo * > *)  memberList 
optional

Users join the group (received by all members)

◆ onMemberLeave:member:()

- (void) onMemberLeave: (NSString *)  groupID
member: (V2TIMGroupMemberInfo *)  member 
optional

Users leave the group (received by all members)

◆ onMemberInvited:opUser:memberList:()

- (void) onMemberInvited: (NSString *)  groupID
opUser: (V2TIMGroupMemberInfo *)  opUser
memberList: (NSArray< V2TIMGroupMemberInfo * > *)  memberList 
optional

Users are added to a group by others (received by all members)

◆ onMemberKicked:opUser:memberList:()

- (void) onMemberKicked: (NSString *)  groupID
opUser: (V2TIMGroupMemberInfo *)  opUser
memberList: (NSArray< V2TIMGroupMemberInfo * > *)  memberList 
optional

Users are removed from a group by others (received by all members)

◆ onMemberInfoChanged:changeInfoList:()

- (void) onMemberInfoChanged: (NSString *)  groupID
changeInfoList: (NSArray< V2TIMGroupMemberChangeInfo * > *)  changeInfoList 
optional

Group member information modified, supporting notifications for muting only (received by all members)。Meeting groups (Meeting) and audio-video groups (AVChatRoom) do not have this callback by default. To configure callback for them, please submit a ticket.

◆ onGroupCreated:()

- (void) onGroupCreated: (NSString *)  groupID
optional

Group created (used for multi-device synchronization)

◆ onGroupDismissed:opUser:()

- (void) onGroupDismissed: (NSString *)  groupID
opUser: (V2TIMGroupMemberInfo *)  opUser 
optional

Group deleted (received by all members)

◆ onGroupRecycled:opUser:()

- (void) onGroupRecycled: (NSString *)  groupID
opUser: (V2TIMGroupMemberInfo *)  opUser 
optional

Group repossessed (received by all members)

◆ onGroupInfoChanged:changeInfoList:()

- (void) onGroupInfoChanged: (NSString *)  groupID
changeInfoList: (NSArray< V2TIMGroupChangeInfo * > *)  changeInfoList 
optional

Group information modified (received by all members)

◆ onGroupAttributeChanged:attributes:()

- (void) onGroupAttributeChanged: (NSString *)  groupID
attributes: (NSMutableDictionary< NSString *, NSString * > *)  attributes 
optional

Received group attribute update(received by all members)

◆ onReceiveJoinApplication:member:opReason:()

- (void) onReceiveJoinApplication: (NSString *)  groupID
member: (V2TIMGroupMemberInfo *)  member
opReason: (NSString *)  opReason 
optional

New group joining request (received only by the group owner and admin)

◆ onApplicationProcessed:opUser:opResult:opReason:()

- (void) onApplicationProcessed: (NSString *)  groupID
opUser: (V2TIMGroupMemberInfo *)  opUser
opResult: (BOOL)  isAgreeJoin
opReason: (NSString *)  opReason 
optional

Group joining request handled by group owner or admin (received only by the applicant)

◆ onGrantAdministrator:opUser:memberList:()

- (void) onGrantAdministrator: (NSString *)  groupID
opUser: (V2TIMGroupMemberInfo *)  opUser
memberList: (NSArray< V2TIMGroupMemberInfo * > *)  memberList 
optional

Specify the admin identity.

◆ onRevokeAdministrator:opUser:memberList:()

- (void) onRevokeAdministrator: (NSString *)  groupID
opUser: (V2TIMGroupMemberInfo *)  opUser
memberList: (NSArray< V2TIMGroupMemberInfo * > *)  memberList 
optional

Cancel the admin identity.

◆ onQuitFromGroup:()

- (void) onQuitFromGroup: (NSString *)  groupID
optional

Quit a group (mainly used for multi-device synchronization, not supported by audio-video groups)

◆ onReceiveRESTCustomData:data:()

- (void) onReceiveRESTCustomData: (NSString *)  groupID
data: (NSData *)  data 
optional

Received a custom system message delivered via the RESTful API.