getConversationsForAllChannel method
Future<int>
getConversationsForAllChannel(
- RCIMIWConversationType type,
- String targetId, {
- IRCIMIWGetConversationsForAllChannelCallback? callback,
ZH
获取特定会话下所有频道的会话列表,只支持超级群
type会话类型targetId会话 IDcallback事件回调。返回值当次接口操作的状态码。0 代表调用成功 具体结果需要实现接口回调,非 0 代表当前接口调用操作失败,不会触发接口回调,详细错误参考错误码
EN
Retrieve the conversation list for all channels under a specific conversation. Only supported for ultra groups.
typeConversation typetargetIdConversation IDcallbackEvent callback. SDK supports callback method starting from version 5.3.1. Other callback methods for this interface are deprecated as of version 5.4.0 and are expected to be removed in version 6.x. If the callback parameter is provided, only the callback method will be triggered.返回值Status code for the current operation. 0 indicates a successful call, and specific results need to be implemented in the interface callback. Non-zero values indicate that the current interface call failed, and no interface callback will be triggered. Refer to the error codes for detailed error information.接口回调onConversationsLoadedForAllChannel
Implementation
Future<int> getConversationsForAllChannel(
RCIMIWConversationType type,
String targetId, {
IRCIMIWGetConversationsForAllChannelCallback? callback,
}) async {
return RCIMWrapperPlatform.instance.getConversationsForAllChannel(type, targetId, callback: callback);
}