NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
nim::TeamMemberProperty结构体 参考

群组成员信息 更多...

#include <nim_team_helper.h>

Public 成员函数

 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
 
void SetFollowMember (const std::string &follow_member)
 
std::vector< std::string > GetFollowMember () const
 
bool ExistValue (const std::string &nim_team_user_key) const
 群成员信息信息数据标记Key对应的数据是否有效(存在,非初始值状态)
 
std::string ToJsonString () const
 组装Json Value字符串
 
nim_cpp_wrapper_util::Json::Value ToJsonValue () const
 获取member info json value
 

Public 属性

nim_cpp_wrapper_util::Json::Value member_info_json_value_
 

详细描述

群组成员信息

构造及析构函数说明

◆ 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

构造函数

成员函数说明

◆ ExistValue()

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

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

参数
[in]nim_team_user_key群成员信息数据标记Key nim_team_def.h
返回
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

获取扩展字段

◆ GetFollowMember()

std::vector< std::string > nim::TeamMemberProperty::GetFollowMember ( ) const
inline

◆ GetInvitorAccID()

std::string nim::TeamMemberProperty::GetInvitorAccID ( ) 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

设置扩展字段

◆ SetFollowMember()

void nim::TeamMemberProperty::SetFollowMember ( const std::string &  follow_member)
inline

◆ SetInvitorAccID()

void nim::TeamMemberProperty::SetInvitorAccID ( const std::string &  invitor_accid)
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字符串

返回
string Json Value字符串

◆ ToJsonValue()

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

获取member info json value

返回
nim_cpp_wrapper_util::Json::Value

类成员变量说明

◆ member_info_json_value_

nim_cpp_wrapper_util::Json::Value nim::TeamMemberProperty::member_info_json_value_

该结构体的文档由以下文件生成: