NIM PC Cross Platform SDK
nim_qchat::QChatServerRoleInfo Struct Reference
Inheritance diagram for nim_qchat::QChatServerRoleInfo:
nim_qchat::QChatRoleInfoBase

Public Member Functions

 QChatServerRoleInfo (const NIMQChatRoleInfo &info)
 
const NIMQChatRoleInfo ToCParam () const
 
- Public Member Functions inherited from nim_qchat::QChatRoleInfoBase
 QChatRoleInfoBase (const NIMQChatRoleInfo &info)
 
const NIMQChatRoleInfo ToCParam () const
 

Public Attributes

uint32_t member_count = 0
 该身份组的成员数量,Everyone 身份组数量为 -1
 
uint64_t priority = 0
 身份组优先级,Everyone 最高为 0,数字越大优先级越低,自定义优先级区间 1~9007199254740991
 
- Public Attributes inherited from nim_qchat::QChatRoleInfoBase
uint64_t server_id = 0
 服务器ID
 
uint64_t role_id = 0
 身份组id
 
std::string role_name
 身份组名称
 
std::string role_icon
 身份组图片 URL
 
std::string extension
 身份组扩展字段
 
QChatPermission permissions {}
 身份组权限设定
 
NIMQChatRoleType role_type = kRoleTypeUnkonwn
 身份组类型 1 表示 Everyone,2 表示定制身份组
 
uint64_t create_time = 0
 身份组创建时间
 
uint64_t update_time = 0
 身份组修改时间
 

Additional Inherited Members

- Protected Attributes inherited from nim_qchat::QChatRoleInfoBase
std::vector< NIMQChatPermissionGroupvec_permissions
 

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