聊天室成员信息
更多...
#include <nim_chatroom_helper.h>
|
| int64_t | room_id_ |
| | 聊天室id
|
| |
| std::string | account_id_ |
| | 成员账号
|
| |
| std::string | tags_ |
| | 聊天室成员登录时指定的 tag 信息
|
| |
| int | type_ |
| | 成员类型, -2:未设置;-1:受限用户; 0:普通;1:创建者;2:管理员;3:临时用户,非固定成员;4:匿名非注册用户,非云信注册用户
|
| |
| int | level_ |
| | 成员级别: >=0表示用户开发者可以自定义的级别
|
| |
| std::string | nick_ |
| | 聊天室内的昵称字段,预留字段, 可从Uinfo中取
|
| |
| std::string | avatar_ |
| | 聊天室内的头像,预留字段, 可从Uinfo中取icon
|
| |
| std::string | ext_ |
| | 开发者扩展字段, 长度限制2k, 必须为可以解析为json的非格式化的字符串
|
| |
| std::string | notify_tags_ |
| | 聊天室成员登录时指定的 notify_tags 信息
|
| |
| NIMChatRoomOnlineState | state_ |
| | 成员是否处于在线状态, 仅特殊成员才可能离线, 对游客/匿名用户而言只能是在线
|
| |
| NIMChatRoomGuestFlag | guest_flag_ |
| | 是否是普通游客类型,0:不是游客,1:是游客; 游客身份在聊天室中没有持久化, 只有在线时才会有内存状态
|
| |
| int64_t | enter_timetag_ |
| | 进入聊天室的时间点,对于离线成员该字段为空
|
| |
| bool | is_blacklist_ |
| | 是黑名单
|
| |
| bool | is_muted_ |
| | 是禁言用户
|
| |
| bool | is_valid_ |
| | 记录有效标记位
|
| |
| int64_t | update_timetag_ |
| | 固定成员的记录更新时间,用于固定成员列表的排列查询
|
| |
| bool | temp_muted_ |
| | 临时禁言
|
| |
| int64_t | temp_muted_duration_ |
| | 临时禁言的解除时长,单位秒
|
| |
◆ ChatRoomMemberInfo()
| nim_chatroom::ChatRoomMemberInfo::ChatRoomMemberInfo |
( |
| ) |
|
|
inline |
◆ ParseFromJsonValue()
◆ ToJsonObject()
◆ ToJsonString()
| std::string nim_chatroom::ChatRoomMemberInfo::ToJsonString |
( |
| ) |
const |
|
inline |
◆ account_id_
| std::string nim_chatroom::ChatRoomMemberInfo::account_id_ |
◆ avatar_
| std::string nim_chatroom::ChatRoomMemberInfo::avatar_ |
聊天室内的头像,预留字段, 可从Uinfo中取icon
◆ enter_timetag_
| int64_t nim_chatroom::ChatRoomMemberInfo::enter_timetag_ |
◆ ext_
| std::string nim_chatroom::ChatRoomMemberInfo::ext_ |
开发者扩展字段, 长度限制2k, 必须为可以解析为json的非格式化的字符串
◆ guest_flag_
是否是普通游客类型,0:不是游客,1:是游客; 游客身份在聊天室中没有持久化, 只有在线时才会有内存状态
◆ is_blacklist_
| bool nim_chatroom::ChatRoomMemberInfo::is_blacklist_ |
◆ is_muted_
| bool nim_chatroom::ChatRoomMemberInfo::is_muted_ |
◆ is_valid_
| bool nim_chatroom::ChatRoomMemberInfo::is_valid_ |
◆ level_
| int nim_chatroom::ChatRoomMemberInfo::level_ |
◆ nick_
| std::string nim_chatroom::ChatRoomMemberInfo::nick_ |
聊天室内的昵称字段,预留字段, 可从Uinfo中取
◆ notify_tags_
| std::string nim_chatroom::ChatRoomMemberInfo::notify_tags_ |
聊天室成员登录时指定的 notify_tags 信息
◆ room_id_
| int64_t nim_chatroom::ChatRoomMemberInfo::room_id_ |
◆ state_
成员是否处于在线状态, 仅特殊成员才可能离线, 对游客/匿名用户而言只能是在线
◆ tags_
| std::string nim_chatroom::ChatRoomMemberInfo::tags_ |
◆ temp_muted_
| bool nim_chatroom::ChatRoomMemberInfo::temp_muted_ |
◆ temp_muted_duration_
| int64_t nim_chatroom::ChatRoomMemberInfo::temp_muted_duration_ |
◆ type_
| int nim_chatroom::ChatRoomMemberInfo::type_ |
成员类型, -2:未设置;-1:受限用户; 0:普通;1:创建者;2:管理员;3:临时用户,非固定成员;4:匿名非注册用户,非云信注册用户
◆ update_timetag_
| int64_t nim_chatroom::ChatRoomMemberInfo::update_timetag_ |
固定成员的记录更新时间,用于固定成员列表的排列查询
该结构体的文档由以下文件生成:
- D:/GitLab/builds/5sbaxrcd/0/nim-pc/california/nim-cross-platform-sdk/exports/wrapper/nim_chatroom_cpp_wrapper/helper/nim_chatroom_helper.h