1 package com.netease.nimlib.sdk.qchat.result;
3 import java.io.Serializable;
12 private final long serverId;
16 private final long requestId;
20 private final String inviteCode;
24 private final long expireTime;
27 this.serverId = serverId;
28 this.requestId = requestId;
29 this.inviteCode = inviteCode;
30 this.expireTime = expireTime;
63 return "QChatGenerateInviteCodeResult{" +
64 "serverId=" + serverId +
65 ", requestId=" + requestId +
66 ", inviteCode='" + inviteCode +
'\'' +
67 ", expireTime=" + expireTime +
long getExpireTime()
获取过期时间戳ms
long getRequestId()
获取唯一标识
QChatGenerateInviteCodeResult(long serverId, long requestId, String inviteCode, long expireTime)
long getServerId()
获取服务器ID
String getInviteCode()
获取邀请码