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

#include <v2_nim_def_struct.hpp>

Public 属性

nstd::string conversationId
 会话标识
 
V2NIMConversationType type {V2NIM_CONVERSATION_TYPE_UNKNOWN}
 会话类型
 
nstd::optional< nstd::stringname
 会话名称
 
nstd::optional< nstd::stringavatar
 会话头像
 
bool mute {false}
 免打扰
 
bool stickTop {false}
 置顶
 
nstd::vector< nstd::stringgroupIds
 会话分组 ID 列表
 
nstd::optional< nstd::stringlocalExtension
 本地扩展信息
 
nstd::optional< nstd::stringserverExtension
 服务端扩展信息
 
nstd::optional< V2NIMLastMessagelastMessage
 最后一条消息
 
uint32_t unreadCount {0}
 未读计数
 
uint64_t sortOrder {0}
 会话排序时间
 
uint64_t createTime {0}
 会话创建时间
 
uint64_t updateTime {0}
 会话更新时间
 

类成员变量说明

◆ avatar

nstd::optional<nstd::string> v2::V2NIMConversation::avatar

会话头像

◆ conversationId

nstd::string v2::V2NIMConversation::conversationId

会话标识

◆ createTime

uint64_t v2::V2NIMConversation::createTime {0}

会话创建时间

◆ groupIds

nstd::vector<nstd::string> v2::V2NIMConversation::groupIds

会话分组 ID 列表

◆ lastMessage

nstd::optional<V2NIMLastMessage> v2::V2NIMConversation::lastMessage

最后一条消息

◆ localExtension

nstd::optional<nstd::string> v2::V2NIMConversation::localExtension

本地扩展信息

◆ mute

bool v2::V2NIMConversation::mute {false}

免打扰

◆ name

nstd::optional<nstd::string> v2::V2NIMConversation::name

会话名称

◆ serverExtension

nstd::optional<nstd::string> v2::V2NIMConversation::serverExtension

服务端扩展信息

◆ sortOrder

uint64_t v2::V2NIMConversation::sortOrder {0}

会话排序时间

◆ stickTop

bool v2::V2NIMConversation::stickTop {false}

置顶

◆ type

会话类型

◆ unreadCount

uint32_t v2::V2NIMConversation::unreadCount {0}

未读计数

◆ updateTime

uint64_t v2::V2NIMConversation::updateTime {0}

会话更新时间


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