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

Detailed Description

Definition of V2TIMCreateGroupMemberInfo.

Public Member Functions

 V2TIMCreateGroupMemberInfo ()
 
 V2TIMCreateGroupMemberInfo (const V2TIMCreateGroupMemberInfo &createGroupMemberInfo)
 
 ~V2TIMCreateGroupMemberInfo ()
 

Data Fields

V2TIMString userID
 
uint32_t role
 

Constructor & Destructor Documentation

◆ V2TIMCreateGroupMemberInfo() [1/2]

◆ V2TIMCreateGroupMemberInfo() [2/2]

V2TIMCreateGroupMemberInfo ( const V2TIMCreateGroupMemberInfo createGroupMemberInfo)

◆ ~V2TIMCreateGroupMemberInfo()

Field Documentation

◆ userID

V2TIMString userID

◆ role

uint32_t role

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.