NIMSDK-AOS 10.4.0-beta
载入中...
搜索中...
未找到
QChatRemoveMemberRoleParam.java
浏览该文件的文档.
1package com.netease.nimlib.sdk.qchat.param;
2
3import androidx.annotation.NonNull;
4
5/**
6 * "删除频道下某人的定制权限"接口入参
7 */
9
10 /**
11 * 服务器id,必填
12 */
13 @NonNull
14 private final Long serverId;
15 /**
16 * 频道Id
17 */
18 @NonNull
19 private final Long channelId;
20 /**
21 * 用户账号,必填
22 */
23 @NonNull
24 private final String accid;
25
26 /**
27 *
28 * @param serverId 服务器id
29 * @param channelId 频道Id
30 * @param accid 用户账号
31 */
32 public QChatRemoveMemberRoleParam(long serverId, long channelId, @NonNull String accid) {
33 this.serverId = serverId;
34 this.channelId = channelId;
35 this.accid = accid;
36 }
37
38 /**
39 * 获取服务器id
40 * @return
41 */
42 @NonNull
43 public Long getServerId() {
44 return serverId;
45 }
46
47 /**
48 * 获取频道Id
49 * @return
50 */
51 @NonNull
52 public Long getChannelId() {
53 return channelId;
54 }
55
56 /**
57 * 获取用户账号
58 * @return
59 */
60 @NonNull
61 public String getAccid() {
62 return accid;
63 }
64}
QChatRemoveMemberRoleParam(long serverId, long channelId, @NonNull String accid)