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

"删除消息"接口入参 更多...

Public 成员函数

 QChatDeleteMessageParam (@NonNull QChatUpdateParam updateParam, long serverId, long channelId, long time, long msgIdServer)
 
QChatUpdateParam getUpdateParam ()
 获取更新操作通用参数 更多...
 
Long getServerId ()
 获取消息所属的serverId 更多...
 
Long getChannelId ()
 获取消息所属的channelId 更多...
 
Long getTime ()
 消息发送时间 更多...
 
Long getMsgIdServer ()
 获取服务端生成的消息id 更多...
 

详细描述

"删除消息"接口入参

在文件 QChatDeleteMessageParam.java8 行定义.

构造及析构函数说明

◆ QChatDeleteMessageParam()

com.netease.nimlib.sdk.qchat.param.QChatDeleteMessageParam.QChatDeleteMessageParam ( @NonNull QChatUpdateParam  updateParam,
long  serverId,
long  channelId,
long  time,
long  msgIdServer 
)
参数
updateParam更新操作通用参数,设置该操作相关的附加字段,设置该操作引发的推送内容,必填
serverId消息所属的serverId,必填
channelId消息所属的channelId,必填
time消息发送时间,从QChatMessage中获取,不可随便设置,必填
msgIdServer服务端生成的消息id,全局唯一,必填

在文件 QChatDeleteMessageParam.java44 行定义.

成员函数说明

◆ getChannelId()

Long com.netease.nimlib.sdk.qchat.param.QChatDeleteMessageParam.getChannelId ( )

获取消息所属的channelId

返回

在文件 QChatDeleteMessageParam.java75 行定义.

◆ getMsgIdServer()

Long com.netease.nimlib.sdk.qchat.param.QChatDeleteMessageParam.getMsgIdServer ( )

获取服务端生成的消息id

返回

在文件 QChatDeleteMessageParam.java93 行定义.

◆ getServerId()

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

获取消息所属的serverId

返回

在文件 QChatDeleteMessageParam.java66 行定义.

◆ getTime()

Long com.netease.nimlib.sdk.qchat.param.QChatDeleteMessageParam.getTime ( )

消息发送时间

返回

在文件 QChatDeleteMessageParam.java84 行定义.

◆ getUpdateParam()

QChatUpdateParam com.netease.nimlib.sdk.qchat.param.QChatDeleteMessageParam.getUpdateParam ( )

获取更新操作通用参数

返回

在文件 QChatDeleteMessageParam.java57 行定义.


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