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) - onAllGroupMembersMuted:isMute:
 
(void) - onMemberMarkChanged:memberIDList:markType:enableMark:
 
(void) - onGroupCreated:
 
(void) - onGroupDismissed:opUser:
 
(void) - onGroupRecycled:opUser:
 
(void) - onGroupInfoChanged:changeInfoList:
 
(void) - onGroupAttributeChanged:attributes:
 
(void) - onGroupCounterChanged:key:newValue:
 
(void) - onReceiveJoinApplication:member:opReason:
 
(void) - onApplicationProcessed:opUser:opResult:opReason:
 
(void) - onGrantAdministrator:opUser:memberList:
 
(void) - onRevokeAdministrator:opUser:memberList:
 
(void) - onQuitFromGroup:
 
(void) - onReceiveRESTCustomData:data:
 
(void) - onTopicCreated:topicID:
 
(void) - onTopicDeleted:topicIDList:
 
(void) - onTopicChanged:topicInfo:
 

Method Documentation

◆ onMemberEnter:memberList:()

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

Users joined the group (received by all members) By default, meeting groups do not trigger this callback. If you want to receive this callback for meeting groups too, please configure it in the console (Configuration -> Group configuration -> Group system notification configuration -> Notification of group member change).

◆ onMemberLeave:member:()

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

Users left the group (received by all members). By default, meeting groups do not trigger this callback. If you want to receive this callback for meeting groups too, please configure it in the console (Configuration -> Group configuration -> Group system notification configuration -> Notification of group member change).

◆ 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 (received by all members). This callback is triggered only when a group member is muted. By default, meeting groups and AVChatRoom groups do not trigger this callback. If you want to receive this callback for those groups too, please configure it in the console (Configuration -> Group configuration -> Group system notification configuration -> Notification of group member profile change).

◆ onAllGroupMembersMuted:isMute:()

- (void) onAllGroupMembersMuted: (NSString *)  groupID
isMute: (BOOL)  isMute 
optional

All group members are muted or unmuted (received by all members). To receive this callback, you need to turn on the corresponding feature in the console (Configuration -> Group configuration -> Group system notification configuration -> Notification of group profile change -> Notification of muting all change). Supported only in 7.5 and later versions.

◆ onMemberMarkChanged:memberIDList:markType:enableMark:()

- (void) onMemberMarkChanged: (NSString *)  groupID
memberIDList: (NSArray< NSString * > *)  memberIDList
markType: (int)  markType
enableMark: (BOOL)  enableMark 
optional

Some group members are marked (received by all members). This callback is only triggered by community groups. This is only supported in 7.5 and later versions of the Premium Edition.

◆ 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). This callback may be triggered if the following fields are changed: groupName, introduction, notification, faceUrl, owner, allMute, custom. You can limit notifications or roaming to specific fields in the console (Configuration -> Group configuration -> Group system notification configuration -> Notification of group profile change).

◆ onGroupAttributeChanged:attributes:()

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

Group attributes changed(received by all members)

◆ onGroupCounterChanged:key:newValue:()

- (void) onGroupCounterChanged: (NSString *)  groupID
key: (NSString *)  key
newValue: (NSInteger)  newValue 
optional

Group counter update notification with the newest counters which have been modified(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

The request to join the group or invite has been processed by the group owner or administrator. (received only by the applicant)

◆ onGrantAdministrator:opUser:memberList:()

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

Some users are made admins.

◆ onRevokeAdministrator:opUser:memberList:()

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

Some users are removed as admin.

◆ onQuitFromGroup:()

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

You quit a group. (mainly used for multi-device synchronization)

◆ onReceiveRESTCustomData:data:()

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

Received a custom system message delivered via the RESTful API.

◆ onTopicCreated:topicID:()

- (void) onTopicCreated: (NSString *)  groupID
topicID: (NSString *)  topicID 
optional

Topic created.

◆ onTopicDeleted:topicIDList:()

- (void) onTopicDeleted: (NSString *)  groupID
topicIDList: (NSArray< NSString * > *)  topicIDList 
optional

Topic deleted.

◆ onTopicChanged:topicInfo:()

- (void) onTopicChanged: (NSString *)  groupID
topicInfo: (V2TIMTopicInfo *)  topicInfo 
optional

Topic information modified (received by all members)