Type Aliases
AcceptServerApplyOptions
AcceptServerApplyOptions: { accid: string; recordInfo: { requestId: string }; serverId: string }
Type declaration
accid: string
recordInfo: { requestId: string }
serverId: string
AcceptServerInviteOptions
AcceptServerInviteOptions: { accid: string; recordInfo: { requestId: string }; serverId: string }
Type declaration
accid: string
recordInfo: { requestId: string }
serverId: string
AntispamTag
AntispamTag: { antiSpamBusinessId: { picbid: string; textbid: string } }
Type declaration
antiSpamBusinessId: { picbid: string; textbid: string }
picbid: string
textbid: string
ApplyServerJoinOptions
ApplyServerJoinOptions: { params: { ttl: number }; ps: string; serverId: string }
Type declaration
params: { ttl: number }
ps: string
serverId: string
BanServerMemberOptions
BanServerMemberOptions: { accid: string; ext?: string; serverId: string }
Type declaration
accid: string
Optional ext?: string
serverId: string
CreateServerOptions
Create
Server
Options
: { antispamTag
?: AntispamTag; applyMode
: 0 | 1; ext
?: string; icon
: string; inviteMode
: 0 | 1; name
: string; searchEnable
?: boolean; searchType
?: number }Type declaration
Optional antispamTag?: AntispamTag
applyMode: 0 | 1
Optional ext?: string
icon: string
inviteMode: 0 | 1
name: string
Optional searchEnable?: boolean
Optional searchType?: number
DeleteServerOptions
DeleteServerOptions: { serverId: string }
GetBannedMembersByPageOptions
GetBannedMembersByPageOptions: { limit: number; serverId: string; timetag: number }
Type declaration
limit: number
serverId: string
timetag: number
GetBannedMembersByPageResult
Get
Banned
Members
By
Page
Result
: { datas
: ServerMemberBanInfo[]; listQueryTag
: { hasMore
: boolean; nextTimetag
: number } }Type declaration
listQueryTag: { hasMore: boolean; nextTimetag: number }
hasMore: boolean
nextTimetag: number
GetServerMembersByPageOptions
GetServerMembersByPageOptions: { limit: number; serverId: string; timetag: number }
Type declaration
limit: number
serverId: string
timetag: number
GetServerMembersByPageResult
Get
Server
Members
By
Page
Result
: { datas
: MemberInfo[]; listQueryTag
: { hasMore
: boolean; nextTimetag
: number } }Type declaration
listQueryTag: { hasMore: boolean; nextTimetag: number }
hasMore: boolean
nextTimetag: number
GetServerMembersOptions
GetServerMembersOptions: { accids: { accid: string; serverId: string }[] }
Type declaration
accids: { accid: string; serverId: string }[]
GetServersByPageOptions
GetServersByPageOptions: { limit?: number; timestamp: number }
Type declaration
Optional limit?: number
timestamp: number
GetServersByPageResult
Get
Servers
By
Page
Result
: { datas
: ServerInfo[]; listQueryTag
: { hasMore
: boolean; nextTimetag
: number } }Type declaration
listQueryTag: { hasMore: boolean; nextTimetag: number }
hasMore: boolean
nextTimetag: number
GetServersOptions
GetServersOptions: { serverIds: string[] }
InviteServerMembersOptions
InviteServerMembersOptions: { accids: string[]; params: { ttl: number }; ps: string; serverId: string }
Type declaration
accids: string[]
params: { ttl: number }
ps: string
serverId: string
InviteServerMembersResult
InviteServerMembersResult: { failByBanAccids: string[]; failByOverAccids: string[]; recordInfo: { expireTime: number; requestId: string } }
Type declaration
failByBanAccids: string[]
failByOverAccids: string[]
recordInfo: { expireTime: number; requestId: string }
expireTime: number
requestId: string
KickServerMembersOptions
KickServerMembersOptions: { accids: string[]; serverId: string }
Type declaration
accids: string[]
serverId: string
LeaveServerOptions
LeaveServerOptions: { serverId: string }
MemberInfo
MemberInfo: { accid: string; avatar: string; createTime: number; ext?: string; inviter: string; joinTime: number; nick: string; serverId: string; type: 0 | 1; updateTime: number; validFlag: 0 | 1 }
Type declaration
accid: string
avatar: string
createTime: number
Optional ext?: string
inviter: string
joinTime: number
nick: string
serverId: string
type: 0 | 1
updateTime: number
validFlag: 0 | 1
QChatServerApplyRecordInfo
QChatServerApplyRecordInfo: { expireTime: number; requestId: string }
Type declaration
expireTime: number
requestId: string
QChatServerGenerateInviteCodeOptions
QChatServerGenerateInviteCodeOptions: { serverId: string; ttl?: number }
Type declaration
serverId: string
Optional ttl?: number
QChatServerGetInviteApplyRecordOfSelfOptions
QChatServerGetInviteApplyRecordOfSelfOptions: { cursor?: string; fromTime: number; limit?: number; reverse?: boolean; toTime: number }
Type declaration
Optional cursor?: string
fromTime: number
Optional limit?: number
Optional reverse?: boolean
toTime: number
QChatServerGetInviteApplyRecordOfServerOptions
QChatServerGetInviteApplyRecordOfServerOptions: { cursor?: string; fromTime: number; limit?: number; reverse?: boolean; serverId: string; toTime: number }
Type declaration
Optional cursor?: string
fromTime: number
Optional limit?: number
Optional reverse?: boolean
serverId: string
toTime: number
QChatServerInviteAndApplyDataWithType1
QChatServerInviteAndApplyDataWithType1: { applyPostscript?: string; updateAccid?: string; updatePostscript?: string }
Type declaration
Optional applyPostscript?: string
Optional updateAccid?: string
Optional updatePostscript?: string
QChatServerInviteAndApplyDataWithType2
QChatServerInviteAndApplyDataWithType2: { invitePostscript?: string; inviteUsers: { accid: string; status: number; updatePostscript?: string; updateTime: number }[] }
Type declaration
Optional invitePostscript?: string
inviteUsers: { accid: string; status: number; updatePostscript?: string; updateTime: number }[]
QChatServerInviteAndApplyDataWithType3
QChatServerInviteAndApplyDataWithType3: { invitePostscript?: string; updatePostscript?: string }
Type declaration
Optional invitePostscript?: string
Optional updatePostscript?: string
QChatServerInviteAndApplyDataWithType4
QChatServerInviteAndApplyDataWithType4: { inviteCode: string; invitePostscript?: string; inviteUserCount?: number }
Type declaration
inviteCode: string
Optional invitePostscript?: string
Optional inviteUserCount?: number
QChatServerInviteAndApplyDataWithType5
QChatServerInviteAndApplyDataWithType5: { inviteCode: string; updatePostscript?: string }
Type declaration
inviteCode: string
Optional updatePostscript?: string
QChatServerInviteApplyRecord
Type declaration
accid: string
createTime: number
expireTime: number
recordId: string
requestId: string
serverId: string
status: number
type: number
updateTime: number
QChatServerInviteCode
QChatServerInviteCode: { expireTime: number; inviteCode: string; requestId: string; serverId: string }
Type declaration
expireTime: number
inviteCode: string
requestId: string
serverId: string
QChatServerJoinByInviteCodeOptions
QChatServerJoinByInviteCodeOptions: { inviteCode: string; ps?: string; serverId: string }
Type declaration
inviteCode: string
Optional ps?: string
serverId: string
QChatServerMarkReadOptions
QChatServerMarkReadOptions: { serverIds: string[] }
QChatServerMarkReadResult
QChatServerMarkReadResult: { ackTimestamp: number; failServerIds: string[]; successServerIds: string[] }
Type declaration
ackTimestamp: number
failServerIds: string[]
successServerIds: string[]
RejectServerApplyOptions
RejectServerApplyOptions: { accid: string; ps: string; recordInfo: { requestId: string }; serverId: string }
Type declaration
accid: string
ps: string
recordInfo: { requestId: string }
serverId: string
RejectServerInviteOptions
RejectServerInviteOptions: { accid: string; ps: string; recordInfo: { requestId: string }; serverId: string }
Type declaration
accid: string
ps: string
recordInfo: { requestId: string }
serverId: string
ServerInfo
ServerInfo: { applyMode: 0 | 1; channelNumber: number; createTime: number; ext?: string; icon: string; inviteMode: 0 | 1; memberNumber: string; name: string; owner: string; reorderWeight: string; searchEnable: boolean; searchType: number; serverId: string; updateTime: number; validFlag: 0 | 1 }
Type declaration
applyMode: 0 | 1
channelNumber: number
createTime: number
Optional ext?: string
icon: string
inviteMode: 0 | 1
memberNumber: string
name: string
owner: string
reorderWeight: string
searchEnable: boolean
searchType: number
serverId: string
updateTime: number
validFlag: 0 | 1
ServerMemberBanInfo
ServerMemberBanInfo: { accid: string; banTime: string; createTime: number; ext?: string; serverId: string; updateTime: number; validFlag: boolean }
Type declaration
accid: string
banTime: string
createTime: number
Optional ext?: string
serverId: string
updateTime: number
validFlag: boolean
ServerMemberSearchByPageOptions
ServerMemberSearchByPageOptions: { keyword: string; limit?: number; serverId: string }
Type declaration
keyword: string
Optional limit?: number
serverId: string
ServerMemberSearchByPageResult
Server
Member
Search
By
Page
Result
: { datas
: MemberInfo[]; listQueryTag
: { hasMore
: boolean; nextTimetag
: number } }Type declaration
listQueryTag: { hasMore: boolean; nextTimetag: number }
hasMore: boolean
nextTimetag: number
ServerSearchByPageOptions
Server
Search
By
Page
Options
: { cursor
?: string; endTime
?: number; keyword
: string; limit
?: number; order
?: TQChatSearchOrder; searchType
: TSearchType; serverType
?: number[]; sort
?: TSortType; startTime
?: number }Type declaration
Optional cursor?: string
Optional endTime?: number
keyword: string
Optional limit?: number
Optional serverType?: number[]
Optional startTime?: number
ServerSearchByPageResult
Server
Search
By
Page
Result
: { datas
: ServerInfo[]; listQueryTag
: { cursor
: string; hasMore
: boolean; nextTimetag
: number } }Type declaration
listQueryTag: { cursor: string; hasMore: boolean; nextTimetag: number }
cursor: string
hasMore: boolean
nextTimetag: number
SubscribeAllChannelOptions
SubscribeAllChannelOptions: { serverIds: string[]; type: number }
Type declaration
serverIds: string[]
type: number
SubscribeAllChannelResult
SubscribeServerOptions
SubscribeServerOptions: { opeType: 1 | 2; servers: { serverId: string }[]; type: 4 }
Type declaration
opeType: 1 | 2
servers: { serverId: string }[]
type: 4
SubscribeServerResult
SubscribeServerResult: { failedServers: { serverId: string }[] }
Type declaration
failedServers: { serverId: string }[]
UnbanServerMemberOptions
UnbanServerMemberOptions: { accid: string; ext?: string; serverId: string }
Type declaration
accid: string
Optional ext?: string
serverId: string
UpdateMyMemberInfoOptions
Update
My
Member
Info
Options
: { accid
: string; antispamTag
?: AntispamTag; avatar
: string; ext
?: string; nick
: string; serverId
: string }Type declaration
accid: string
Optional antispamTag?: AntispamTag
avatar: string
Optional ext?: string
nick: string
serverId: string
UpdateServerMemberInfoOptions
Update
Server
Member
Info
Options
: { accid
: string; antispamTag
?: AntispamTag; avatar
: string; nick
: string; serverId
: string }Type declaration
accid: string
Optional antispamTag?: AntispamTag
avatar: string
nick: string
serverId: string
UpdateServerOptions
Update
Server
Options
: { antispamTag
?: AntispamTag; applyMode
: 0 | 1; ext
?: string; icon
: string; inviteMode
: 0 | 1; name
: string; searchEnable
?: boolean; searchType
?: number; serverId
: string }Type declaration
Optional antispamTag?: AntispamTag
applyMode: 0 | 1
Optional ext?: string
icon: string
inviteMode: 0 | 1
name: string
Optional searchEnable?: boolean
Optional searchType?: number
serverId: string
用户账号