NIM SDK API  9.0.0
Public Member Functions | List of all members
nim::SuperTeamMemberProperty Struct Reference

群组成员信息 More...

#include <nim_super_team_helper.h>

Public Member Functions

 SuperTeamMemberProperty (const std::string &team_id, const std::string &accid, const nim::NIMSuperTeamUserType type)
 
 SuperTeamMemberProperty ()
 
void SetSuperTeamID (const std::string &id)
 
std::string GetSuperTeamID () const
 
void SetAccountID (const std::string &id)
 
std::string GetAccountID () const
 
void SetUserType (nim::NIMSuperTeamUserType type)
 
nim::NIMSuperTeamUserType 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
 
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...
 

Detailed Description

群组成员信息

Constructor & Destructor Documentation

◆ SuperTeamMemberProperty() [1/2]

nim::SuperTeamMemberProperty::SuperTeamMemberProperty ( const std::string &  team_id,
const std::string &  accid,
const nim::NIMSuperTeamUserType  type 
)
inline

构造函数

◆ SuperTeamMemberProperty() [2/2]

nim::SuperTeamMemberProperty::SuperTeamMemberProperty ( )
inline

构造函数

Member Function Documentation

◆ ExistValue()

bool nim::SuperTeamMemberProperty::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::SuperTeamMemberProperty::GetAccountID ( ) const
inline

获取群成员ID

◆ GetBits()

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

获取群成员配置项

◆ GetCreateTimetag()

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

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

◆ GetCustom()

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

获取扩展字段

◆ GetNick()

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

获取群成员昵称

◆ GetSuperTeamID()

std::string nim::SuperTeamMemberProperty::GetSuperTeamID ( ) const
inline

获取群组ID

◆ GetUpdateTimetag()

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

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

◆ GetUserType()

nim::NIMSuperTeamUserType nim::SuperTeamMemberProperty::GetUserType ( ) const
inline

获取群成员类型

◆ IsMute()

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

是否禁言

◆ IsValid()

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

获取群成员有效性

◆ SetAccountID()

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

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

◆ SetBits()

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

设置群成员配置项

◆ SetCreateTimetag()

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

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

◆ SetCustom()

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

设置扩展字段

◆ SetMute()

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

设置禁言

◆ SetNick()

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

设置群成员昵称

◆ SetSuperTeamID()

void nim::SuperTeamMemberProperty::SetSuperTeamID ( const std::string &  id)
inline

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

◆ SetUpdateTimetag()

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

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

◆ SetUserType()

void nim::SuperTeamMemberProperty::SetUserType ( nim::NIMSuperTeamUserType  type)
inline

设置群成员类型

◆ SetValid()

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

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

◆ ToJsonString()

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

组装Json Value字符串

Returns
string Json Value字符串

◆ ToJsonValue()

nim_cpp_wrapper_util::Json::Value nim::SuperTeamMemberProperty::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: