"禁言频道成员"接口参数
更多...
|
| | QChatChannelMuteParam (long serverId, long channelId, QChatMuteOperateType operateType, List< String > muteAccountIds, long duration) |
| |
| | QChatChannelMuteParam (long serverId, long channelId, QChatMuteOperateType operateType, List< String > muteAccountIds, long duration, String postscript, QChatMuteNotifyScope notifyType) |
| |
| long | getServerId () |
| | 获取服务器id 更多...
|
| |
| void | setServerId (long serverId) |
| | 设置服务器id 更多...
|
| |
| long | getChannelId () |
| | 获取频道id 更多...
|
| |
| void | setChannelId (long channelId) |
| | 设置频道id 更多...
|
| |
| QChatMuteOperateType | getOperateType () |
| | 获取操作类型 更多...
|
| |
| void | setOperateType (QChatMuteOperateType operateType) |
| | 设置操作类型 更多...
|
| |
| List< String > | getMuteAccountIds () |
| | 获取禁言成员列表 更多...
|
| |
| void | setMuteAccountIds (List< String > muteAccountIds) |
| | 设置禁言成员列表 更多...
|
| |
| long | getDuration () |
| | 获取禁言持续时长 更多...
|
| |
| void | setDuration (long duration) |
| | 设置禁言持续时长 更多...
|
| |
| String | getPostscript () |
| | 获取附言 更多...
|
| |
| void | setPostscript (String postscript) |
| | 设置附言 更多...
|
| |
| QChatMuteNotifyScope | getNotifyType () |
| | 获取通知类型 更多...
|
| |
| void | setNotifyType (QChatMuteNotifyScope notifyType) |
| | 设置通知类型 更多...
|
| |
| boolean | isValid () |
| | 判断参数是否合法 更多...
|
| |
| com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.QChatChannelMuteParam |
( |
long |
serverId, |
|
|
long |
channelId, |
|
|
QChatMuteOperateType |
operateType, |
|
|
List< String > |
muteAccountIds, |
|
|
long |
duration |
|
) |
| |
| com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.QChatChannelMuteParam |
( |
long |
serverId, |
|
|
long |
channelId, |
|
|
QChatMuteOperateType |
operateType, |
|
|
List< String > |
muteAccountIds, |
|
|
long |
duration, |
|
|
String |
postscript, |
|
|
QChatMuteNotifyScope |
notifyType |
|
) |
| |
- 参数
-
| serverId | 服务器id |
| channelId | 频道id |
| operateType | 操作类型 |
| muteAccountIds | 禁言成员列表 |
| duration | 禁言持续时长 单位:秒 |
| postscript | 附言 |
| notifyType | 通知类型 |
在文件 QChatChannelMuteParam.java 第 84 行定义.
| long com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.getChannelId |
( |
| ) |
|
| long com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.getDuration |
( |
| ) |
|
| List<String> com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.getMuteAccountIds |
( |
| ) |
|
| String com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.getPostscript |
( |
| ) |
|
| long com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.getServerId |
( |
| ) |
|
| boolean com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.isValid |
( |
| ) |
|
| void com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.setChannelId |
( |
long |
channelId | ) |
|
| void com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.setDuration |
( |
long |
duration | ) |
|
| void com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.setMuteAccountIds |
( |
List< String > |
muteAccountIds | ) |
|
| void com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.setNotifyType |
( |
QChatMuteNotifyScope |
notifyType | ) |
|
| void com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.setOperateType |
( |
QChatMuteOperateType |
operateType | ) |
|
| void com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.setPostscript |
( |
String |
postscript | ) |
|
| void com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.setServerId |
( |
long |
serverId | ) |
|
该类的文档由以下文件生成: