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

Public Member Functions

 V2TIMGroupMemberFullInfo ()
 
String getUserID ()
 
void setUserID (String userID)
 
void setNameCard (String nameCard)
 
Map< String, byte[]> getCustomInfo ()
 
void setCustomInfo (Map< String, byte[]> customInfo)
 
int getRole ()
 
long getMuteUntil ()
 
long getJoinTime ()
 
String toString ()
 
String getNickName ()
 
String getNameCard ()
 
String getFriendRemark ()
 
String getFaceUrl ()
 

Static Public Attributes

static final int V2TIM_GROUP_MEMBER_UNDEFINED = 0
 
static final int V2TIM_GROUP_MEMBER_ROLE_MEMBER = 200
 
static final int V2TIM_GROUP_MEMBER_ROLE_ADMIN = 300
 
static final int V2TIM_GROUP_MEMBER_ROLE_OWNER = 400
 
static final int V2TIM_GROUP_MEMBER_FILTER_ALL = 0x00
 
static final int V2TIM_GROUP_MEMBER_FILTER_OWNER = 0x01
 
static final int V2TIM_GROUP_MEMBER_FILTER_ADMIN = 0x02
 
static final int V2TIM_GROUP_MEMBER_FILTER_COMMON = 0x04
 

Constructor & Destructor Documentation

◆ V2TIMGroupMemberFullInfo()

Member Function Documentation

◆ getUserID()

String getUserID ( )
inline

Get the userID of a user

Returns
User's userID

Reimplemented from V2TIMGroupMemberInfo.

◆ setUserID()

void setUserID ( String  userID)
inline

Set the userID of the group member whose profile is to be modified

Parameters
userIDUser's userID

◆ setNameCard()

void setNameCard ( String  nameCard)
inline

Set the name card of the group member whose profile is to be modified

Parameters
nameCard

◆ getCustomInfo()

Map<String, byte[]> getCustomInfo ( )
inline

Get custom group member fields

Returns
Custom field map

◆ setCustomInfo()

void setCustomInfo ( Map< String, byte[]>  customInfo)
inline

Modify custom group member fields

Attention
To configure the corresponding keys and permissions, go to IM console -> Feature Configuration -> Custom Group Member Fields.
Parameters
customInfoCustom field

◆ getRole()

int getRole ( )
inline

Get group member roles

Returns

◆ getMuteUntil()

long getMuteUntil ( )
inline

Get muting stop timestamps of group members. To mute users, please call the V2TIMGroupManager.muteGroupMember() API.

Returns

◆ getJoinTime()

long getJoinTime ( )
inline

Get the joining time of group members. The group joining time is automatically generated and cannot be modified.

Returns

◆ toString()

String toString ( )
inline

Reimplemented from V2TIMGroupMemberInfo.

◆ getNickName()

String getNickName ( )
inlineinherited

Get nicknames

Returns

◆ getNameCard()

String getNameCard ( )
inlineinherited

Get a group member's name card

Returns

◆ getFriendRemark()

String getFriendRemark ( )
inlineinherited

Get friend remarks. If you have not pulled the friend information or are not a friend, null is returned.

Returns
Friend remarks

◆ getFaceUrl()

String getFaceUrl ( )
inlineinherited

Get the profile photo URL of a user

Returns

Field Documentation

◆ V2TIM_GROUP_MEMBER_UNDEFINED

final int V2TIM_GROUP_MEMBER_UNDEFINED = 0
static

Undefined (this field is not obtained)

◆ V2TIM_GROUP_MEMBER_ROLE_MEMBER

final int V2TIM_GROUP_MEMBER_ROLE_MEMBER = 200
static

Group member

◆ V2TIM_GROUP_MEMBER_ROLE_ADMIN

final int V2TIM_GROUP_MEMBER_ROLE_ADMIN = 300
static

Group admin

◆ V2TIM_GROUP_MEMBER_ROLE_OWNER

final int V2TIM_GROUP_MEMBER_ROLE_OWNER = 400
static

Group owner

◆ V2TIM_GROUP_MEMBER_FILTER_ALL

final int V2TIM_GROUP_MEMBER_FILTER_ALL = 0x00
static

All members

◆ V2TIM_GROUP_MEMBER_FILTER_OWNER

final int V2TIM_GROUP_MEMBER_FILTER_OWNER = 0x01
static

Group owner

◆ V2TIM_GROUP_MEMBER_FILTER_ADMIN

final int V2TIM_GROUP_MEMBER_FILTER_ADMIN = 0x02
static

Admin

◆ V2TIM_GROUP_MEMBER_FILTER_COMMON

final int V2TIM_GROUP_MEMBER_FILTER_COMMON = 0x04
static

Common member