GroupMember

GroupMember

Group member object, used to describe the properties of a group member, such as the member's ID, nickname, role, and group joining time

Properties:
Name Type Description
userID String

Group member ID

avatar String

Group member profile photo URL

nick String

Group member nickname

role String

Role in the group

  • TIM.TYPES.GRP_MBR_ROLE_OWNER: group owner
  • TIM.TYPES.GRP_MBR_ROLE_ADMIN: group admin
  • TIM.TYPES.GRP_MBR_ROLE_MEMBER: common group member
joinTime Number

Time when the member joined the group

nameCard String

Group name card

muteUntil Number

Muting deadline timestamp, in seconds

  • Muted: muteUntil is later than the current time
  • Unmuted: muteUntil is earlier than the current time
memberCustomField Array.<Object>

Group member custom field

Properties
Name Type Description
key String

Key of the group member custom field

value String

Value of the group member custom field