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

Properties

NSString * userID
 
uint32_t role
 

Property Documentation

◆ userID

- (NSString*) userID
readwritenonatomicstrong

Member's userID.

◆ role

- (uint32_t) role
readwritenonatomicassign

Member type

  1. If role is left empty or set to V2TIMGroupMemberFullInfo.V2TIM_GROUP_MEMBER_UNDEFINED, a user becomes a group member when the user enters the group by default.
  2. Work groups do not allow role to be set as the admin.
  3. All groups do not allow role to be set as the group owner.