Group message
5.1 Group event protocol function
Obtain the XHGroupManager instance and add the group event protocol function./**
Group member number change
@param groupID group id
@param membersNumber Number of members
*/
- (void)group:(NSString*)groupID didMembersNumberUpdeted:(NSInteger)membersNumber
{
}
/**
You are removed from the current group
@param groupID group id
*/
- (void)groupUserKicked:(NSString*)groupID
{
}
/**
Group deleted notification
@param groupID group id
*/
- (void)groupDidDeleted:(NSString*)groupID
{
}
/**
Receive group message
@param aMessage message
@param fromID message sender
*/
- (void)groupMessagesDidReceive:(NSString *)aMessage fromID:(NSString *)fromID
{
}
5.2 XHGroupManager API Description
/** |