NIM PC Cross Platform SDK
nim::TeamMemberProperty Struct Reference

群组成员信息 More...

#include <nim_team_helper.h>

Public Member Functions

 TeamMemberProperty (const std::string &team_id, const std::string &accid, const nim::NIMTeamUserType type)
 
 TeamMemberProperty ()
 
void SetTeamID (const std::string &id)
 
std::string GetTeamID () const
 
void SetAccountID (const std::string &id)
 
std::string GetAccountID () const
 
void SetUserType (nim::NIMTeamUserType type)
 
nim::NIMTeamUserType GetUserType () const
 
void SetNick (const std::string &nick)
 
std::string GetNick () const
 
void SetBits (int64_t bit)
 
int64_t GetBits () const
 
void SetValid (bool valid)
 
bool IsValid () const
 
void SetCreateTimetag (int64_t timetag)
 
int64_t GetCreateTimetag () const
 
void SetUpdateTimetag (int64_t timetag)
 
int64_t GetUpdateTimetag () const
 
void SetMute (bool mute)
 
bool IsMute () const
 
void SetCustom (const std::string &custom)
 
std::string GetCustom () const
 
void SetInvitorAccID (const std::string &invitor_accid)
 
std::string GetInvitorAccID () const
 
bool ExistValue (const std::string &nim_team_user_key) const
 群成员信息信息数据标记Key对应的数据是否有效(存在,非初始值状态) More...
 
std::string ToJsonString () const
 组装Json Value字符串 More...
 
nim_cpp_wrapper_util::Json::Value ToJsonValue () const
 获取member info json value More...
 

Public Attributes

nim_cpp_wrapper_util::Json::Value member_info_json_value_
 

Detailed Description

群组成员信息

Constructor & Destructor Documentation

◆ TeamMemberProperty() [1/2]

nim::TeamMemberProperty::TeamMemberProperty ( const std::string &  team_id,
const std::string &  accid,
const nim::NIMTeamUserType  type 
)
inline

构造函数

◆ TeamMemberProperty() [2/2]

nim::TeamMemberProperty::TeamMemberProperty ( )
inline

构造函数

Member Function Documentation

◆ ExistValue()

bool nim::TeamMemberProperty::ExistValue ( const std::string &  nim_team_user_key) const
inline

群成员信息信息数据标记Key对应的数据是否有效(存在,非初始值状态)

Parameters
[in]nim_team_user_key群成员信息数据标记Key nim_team_def.h
Returns
bool 有效性

◆ GetAccountID()

std::string nim::TeamMemberProperty::GetAccountID ( ) const
inline

获取群成员ID

◆ GetBits()

int64_t nim::TeamMemberProperty::GetBits ( ) const
inline

获取群成员配置项

◆ GetCreateTimetag()

int64_t nim::TeamMemberProperty::GetCreateTimetag ( ) const
inline

获取群成员创建时间戳(毫秒)

◆ GetCustom()

std::string nim::TeamMemberProperty::GetCustom ( ) const
inline

获取扩展字段

◆ GetNick()

std::string nim::TeamMemberProperty::GetNick ( ) const
inline

获取群成员昵称

◆ GetTeamID()

std::string nim::TeamMemberProperty::GetTeamID ( ) const
inline

获取群组ID

◆ GetUpdateTimetag()

int64_t nim::TeamMemberProperty::GetUpdateTimetag ( ) const
inline

获取群成员更新时间戳(毫秒)

◆ GetUserType()

nim::NIMTeamUserType nim::TeamMemberProperty::GetUserType ( ) const
inline

获取群成员类型

◆ IsMute()

bool nim::TeamMemberProperty::IsMute ( ) const
inline

是否禁言

◆ IsValid()

bool nim::TeamMemberProperty::IsValid ( ) const
inline

获取群成员有效性

◆ SetAccountID()

void nim::TeamMemberProperty::SetAccountID ( const std::string &  id)
inline

设置群成员ID,通常情况下由SDK维护,开发者作为只读无需设置

◆ SetBits()

void nim::TeamMemberProperty::SetBits ( int64_t  bit)
inline

设置群成员配置项

◆ SetCreateTimetag()

void nim::TeamMemberProperty::SetCreateTimetag ( int64_t  timetag)
inline

设置群成员创建时间戳(毫秒),通常情况下由SDK维护,开发者作为只读无需设置

◆ SetCustom()

void nim::TeamMemberProperty::SetCustom ( const std::string &  custom)
inline

设置扩展字段

◆ SetMute()

void nim::TeamMemberProperty::SetMute ( bool  mute)
inline

设置禁言

◆ SetNick()

void nim::TeamMemberProperty::SetNick ( const std::string &  nick)
inline

设置群成员昵称

◆ SetTeamID()

void nim::TeamMemberProperty::SetTeamID ( const std::string &  id)
inline

设置群组ID,通常情况下由SDK维护,开发者作为只读无需设置

◆ SetUpdateTimetag()

void nim::TeamMemberProperty::SetUpdateTimetag ( int64_t  timetag)
inline

设置群成员更新时间戳(毫秒),通常情况下由SDK维护,开发者作为只读无需设置

◆ SetUserType()

void nim::TeamMemberProperty::SetUserType ( nim::NIMTeamUserType  type)
inline

设置群成员类型

◆ SetValid()

void nim::TeamMemberProperty::SetValid ( bool  valid)
inline

设置群成员有效性,通常情况下由SDK维护,开发者作为只读无需设置

◆ ToJsonString()

std::string nim::TeamMemberProperty::ToJsonString ( ) const
inline

组装Json Value字符串

Returns
string Json Value字符串

◆ ToJsonValue()

nim_cpp_wrapper_util::Json::Value nim::TeamMemberProperty::ToJsonValue ( ) const
inline

获取member info json value

Returns
nim_cpp_wrapper_util::Json::Value

The documentation for this struct was generated from the following file: