NIMSDK-AOS  9.15.0
Public 成员函数 | 所有成员列表
com.netease.nimlib.sdk.qchat.param.QChatGetLastMessageOfChannelsParam类 参考

"查询历史消息"接口入参 更多...

Public 成员函数

 QChatGetLastMessageOfChannelsParam (@NonNull Long serverId, @NonNull List< Long > channelIds)
 
Long getServerId ()
 获取服务器Id 更多...
 
List< Long > getChannelIds ()
 获取频道Id列表 更多...
 

详细描述

"查询历史消息"接口入参

在文件 QChatGetLastMessageOfChannelsParam.java9 行定义.

构造及析构函数说明

◆ QChatGetLastMessageOfChannelsParam()

com.netease.nimlib.sdk.qchat.param.QChatGetLastMessageOfChannelsParam.QChatGetLastMessageOfChannelsParam ( @NonNull Long  serverId,
@NonNull List< Long >  channelIds 
)
参数
serverId服务器Id
channelIds频道Id列表,最多20个,要求都是serverId下的

在文件 QChatGetLastMessageOfChannelsParam.java27 行定义.

成员函数说明

◆ getChannelIds()

List<Long> com.netease.nimlib.sdk.qchat.param.QChatGetLastMessageOfChannelsParam.getChannelIds ( )

获取频道Id列表

返回

在文件 QChatGetLastMessageOfChannelsParam.java46 行定义.

◆ getServerId()

Long com.netease.nimlib.sdk.qchat.param.QChatGetLastMessageOfChannelsParam.getServerId ( )

获取服务器Id

返回

在文件 QChatGetLastMessageOfChannelsParam.java37 行定义.


该类的文档由以下文件生成: