群组信息
More...
#include <nim_team_helper.h>
◆ TeamInfo() [1/2]
nim::TeamInfo::TeamInfo |
( |
const std::string & |
team_id, |
|
|
const nim::NIMTeamType |
type |
|
) |
| |
|
inline |
◆ TeamInfo() [2/2]
nim::TeamInfo::TeamInfo |
( |
| ) |
|
|
inline |
◆ ExistValue()
bool nim::TeamInfo::ExistValue |
( |
const std::string & |
nim_team_info_key | ) |
const |
|
inline |
群组信息数据标记Key对应的数据是否有效(存在,非初始值状态)
- Parameters
-
- Returns
- bool 有效性
◆ GetAnnouncement()
std::string nim::TeamInfo::GetAnnouncement |
( |
| ) |
const |
|
inline |
◆ GetBeInviteMode()
◆ GetCreateTimetag()
int64_t nim::TeamInfo::GetCreateTimetag |
( |
| ) |
const |
|
inline |
◆ GetCustom()
std::string nim::TeamInfo::GetCustom |
( |
| ) |
const |
|
inline |
◆ GetIcon()
std::string nim::TeamInfo::GetIcon |
( |
| ) |
const |
|
inline |
◆ GetIntro()
std::string nim::TeamInfo::GetIntro |
( |
| ) |
const |
|
inline |
◆ GetInviteMode()
◆ GetJoinMode()
◆ GetMemberCount()
int nim::TeamInfo::GetMemberCount |
( |
| ) |
const |
|
inline |
◆ GetMemberListTimetag()
int64_t nim::TeamInfo::GetMemberListTimetag |
( |
| ) |
const |
|
inline |
获取群组成员档案时间戳(毫秒),通常情况下由SDK维护,开发者作为只读无需设置
◆ GetMemberMaxCount()
int nim::TeamInfo::GetMemberMaxCount |
( |
| ) |
const |
|
inline |
◆ GetMuteType()
◆ GetName()
std::string nim::TeamInfo::GetName |
( |
| ) |
const |
|
inline |
◆ GetOwnerID()
std::string nim::TeamInfo::GetOwnerID |
( |
| ) |
const |
|
inline |
◆ GetProperty()
std::string nim::TeamInfo::GetProperty |
( |
| ) |
const |
|
inline |
◆ GetServerCustom()
std::string nim::TeamInfo::GetServerCustom |
( |
| ) |
const |
|
inline |
◆ GetTeamID()
std::string nim::TeamInfo::GetTeamID |
( |
| ) |
const |
|
inline |
◆ GetType()
◆ GetUpdateCustomMode()
◆ GetUpdateInfoMode()
◆ GetUpdateTimetag()
int64_t nim::TeamInfo::GetUpdateTimetag |
( |
| ) |
const |
|
inline |
◆ IsMemberValid()
bool nim::TeamInfo::IsMemberValid |
( |
| ) |
const |
|
inline |
◆ IsValid()
bool nim::TeamInfo::IsValid |
( |
| ) |
const |
|
inline |
◆ operator=()
void nim::TeamInfo::operator= |
( |
const TeamInfo & |
new_info | ) |
|
|
inline |
◆ SetAnnouncement()
void nim::TeamInfo::SetAnnouncement |
( |
const std::string & |
announcement | ) |
|
|
inline |
◆ SetBeInviteMode()
◆ SetCreateTimetag()
void nim::TeamInfo::SetCreateTimetag |
( |
int64_t |
timetag | ) |
|
|
inline |
设置群组创建时间戳(毫秒),通常情况下由SDK维护,开发者作为只读无需设置
◆ SetCustom()
void nim::TeamInfo::SetCustom |
( |
const std::string & |
custom | ) |
|
|
inline |
群属性,开发者无需关注 20161011 by Oleg 获取群属性,开发者无需关注 20161011 by Oleg 设置群组客户端扩展内容
◆ SetIcon()
void nim::TeamInfo::SetIcon |
( |
const std::string & |
icon | ) |
|
|
inline |
◆ SetIntro()
void nim::TeamInfo::SetIntro |
( |
const std::string & |
intro | ) |
|
|
inline |
◆ SetInviteMode()
◆ SetJoinMode()
◆ SetMemberCount()
void nim::TeamInfo::SetMemberCount |
( |
int |
count | ) |
|
|
inline |
设置群组成员数量,通常情况下由SDK维护,开发者作为只读无需设置
◆ SetMemberListTimetag()
void nim::TeamInfo::SetMemberListTimetag |
( |
int64_t |
timetag | ) |
|
|
inline |
设置群组成员档案时间戳(毫秒),通常情况下由SDK维护,开发者作为只读无需设置
◆ SetMemberMaxCount()
void nim::TeamInfo::SetMemberMaxCount |
( |
int |
count | ) |
|
|
inline |
在创建群时,设置群的最大成员数,不可超过应用设定的最大成员数,否则返回414
◆ SetMemberValid()
void nim::TeamInfo::SetMemberValid |
( |
bool |
valid | ) |
|
|
inline |
设置群组成员有效性,通常情况下由SDK维护,开发者作为只读无需设置
◆ SetMute()
◆ SetName()
void nim::TeamInfo::SetName |
( |
const std::string & |
name | ) |
|
|
inline |
◆ SetOwnerID()
void nim::TeamInfo::SetOwnerID |
( |
const std::string & |
id | ) |
|
|
inline |
设置群组拥有者ID,通常情况下由SDK维护,开发者作为只读无需设置
◆ SetProperty()
void nim::TeamInfo::SetProperty |
( |
const std::string & |
prop | ) |
|
|
inline |
◆ SetServerCustom()
void nim::TeamInfo::SetServerCustom |
( |
const std::string & |
custom | ) |
|
|
inline |
◆ SetTeamID()
void nim::TeamInfo::SetTeamID |
( |
const std::string & |
id | ) |
|
|
inline |
设置群组ID,通常情况下由SDK维护,开发者作为只读无需设置
◆ SetType()
◆ SetUpdateCustomMode()
◆ SetUpdateInfoMode()
◆ SetUpdateTimetag()
void nim::TeamInfo::SetUpdateTimetag |
( |
int64_t |
timetag | ) |
|
|
inline |
设置群组更新时间戳(毫秒),通常情况下由SDK维护,开发者作为只读无需设置
◆ SetValid()
void nim::TeamInfo::SetValid |
( |
bool |
valid | ) |
|
|
inline |
设置群组有效性,通常情况下由SDK维护,开发者作为只读无需设置
◆ ToJsonString()
std::string nim::TeamInfo::ToJsonString |
( |
| ) |
const |
|
inline |
组装Json Value字符串
- Returns
- string Json Value字符串
◆ ToJsonValue()
◆ Update()
void nim::TeamInfo::Update |
( |
const TeamInfo & |
new_info | ) |
|
|
inline |
The documentation for this struct was generated from the following file: