NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
v2_nim_conversation_group_service.hpp
浏览该文件的文档.
1#ifndef V2_NIM_CONVERSATION_GROUP_SERVICE_H
2#define V2_NIM_CONVERSATION_GROUP_SERVICE_H
3#include "v2_nim_internal.hpp"
4namespace v2 {
15public:
39 nstd::optional<nstd::string> serverExtension,
40 nstd::vector<nstd::string> conversationIds,
42 V2NIMFailureCallback failure) = 0;
43
60
82 nstd::optional<nstd::string> serverExtension,
84 V2NIMFailureCallback failure) = 0;
85
107 nstd::vector<nstd::string> conversationIds,
109 V2NIMFailureCallback failure) = 0;
110
132 nstd::vector<nstd::string> conversationIds,
134 V2NIMFailureCallback failure) = 0;
135
152
167
188 V2NIMFailureCallback failure) = 0;
189
213
225};
226} // namespace v2
227
228#endif
Definition: ne_stl_continuous_container.h:15
Definition: ne_stl_string.h:19
会话分组服务
Definition: v2_nim_conversation_group_service.hpp:14
virtual void addConversationGroupListener(V2NIMConversationGroupListener listener)=0
添加会话分组监听
virtual void removeConversationGroupListener(V2NIMConversationGroupListener listener)=0
移除会话分组监听
virtual void addConversationsToGroup(nstd::string groupId, nstd::vector< nstd::string > conversationIds, V2NIMSuccessCallback< nstd::vector< V2NIMConversationOperationResult > > success, V2NIMFailureCallback failure)=0
添加会话到会话分组
virtual void getConversationGroup(nstd::string groupId, V2NIMSuccessCallback< V2NIMConversationGroup > success, V2NIMFailureCallback failure)=0
获取会话分组信息
virtual void createConversationGroup(nstd::string name, nstd::optional< nstd::string > serverExtension, nstd::vector< nstd::string > conversationIds, V2NIMSuccessCallback< V2NIMConversationGroupResult > success, V2NIMFailureCallback failure)=0
创建会话分组
virtual void deleteConversationGroup(nstd::string groupId, V2NIMSuccessCallback< void > success, V2NIMFailureCallback failure)=0
删除会话分组
virtual void removeConversationsFromGroup(nstd::string groupId, nstd::vector< nstd::string > conversationIds, V2NIMSuccessCallback< nstd::vector< V2NIMConversationOperationResult > > success, V2NIMFailureCallback failure)=0
从会话分组中移除会话
virtual void getConversationGroupListByIds(nstd::vector< nstd::string > groupIds, V2NIMSuccessCallback< nstd::vector< V2NIMConversationGroup > > success, V2NIMFailureCallback failure)=0
根据会话分组 ID 获取会话分组
virtual void updateConversationGroup(nstd::string groupId, nstd::optional< nstd::string > name, nstd::optional< nstd::string > serverExtension, V2NIMSuccessCallback< void > success, V2NIMFailureCallback failure)=0
更新会话分组
virtual void getConversationGroupList(V2NIMSuccessCallback< nstd::vector< V2NIMConversationGroup > > success, V2NIMFailureCallback failure)=0
获取会话分组列表
通用成功
Definition: v2_nim_def_callback.hpp:7
Definition: v2_nim_ai_service.hpp:4
Definition: ne_stl_optional.h:16
Definition: ne_stl_bind.h:132
Definition: v2_nim_def_callback.hpp:96