Type Aliases
AddChannelCategoryMemberRoleOptions
AddChannelCategoryMemberRoleOptions: { accid: string; categoryId: string; serverId: string }
Type declaration
accid: string
categoryId: string
serverId: string
AddChannelCategoryRoleOptions
AddChannelCategoryRoleOptions: { categoryId: string; parentRoleId: string; serverId: string }
Type declaration
categoryId: string
parentRoleId: string
serverId: string
AddChannelRoleOptions
AddChannelRoleOptions: { channelId: string; parentRoleId: string; serverId: string }
Type declaration
channelId: string
parentRoleId: string
serverId: string
AddMemberRoleOptions
AddMemberRoleOptions: { accid: string; channelId: string; serverId: string }
Type declaration
accid: string
channelId: string
serverId: string
AddMembersToServerRoleOptions
AddMembersToServerRoleOptions: { accids: string[]; roleId: string; serverId: string }
Type declaration
accids: string[]
roleId: string
serverId: string
AddMembersToServerRoleResult
AddMembersToServerRoleResult: { failedAccids: string[]; successAccids: string[] }
Type declaration
failedAccids: string[]
successAccids: string[]
CheckPermissionOptions
Check
Permission
Options
: { auth
: QChatRoleAuthKey; channelId
?: string; serverId
: string }Type declaration
Optional channelId?: string
serverId: string
CreateServerRoleOptions
Create
Server
Role
Options
: { antispamTag
?: AntispamTag; ext
?: string; icon
?: string; name
: string; priority
: number; serverId
: string }Type declaration
Optional antispamTag?: AntispamTag
Optional ext?: string
Optional icon?: string
name: string
priority: number
serverId: string
DeleteServerRoleOptions
DeleteServerRoleOptions: { roleId: string; serverId: string }
Type declaration
roleId: string
serverId: string
GetChannelCategoryMemberRoleOptions
GetChannelCategoryMemberRoleOptions: { categoryId: string; limit?: number; serverId: string; timetag?: number }
Type declaration
categoryId: string
Optional limit?: number
serverId: string
Optional timetag?: number
GetChannelCategoryRoleOptions
GetChannelCategoryRoleOptions: { categoryId: string; limit?: number; serverId: string; timetag?: number }
Type declaration
categoryId: string
Optional limit?: number
serverId: string
Optional timetag?: number
GetChannelRolesOptions
GetChannelRolesOptions: { channelId: string; limit?: number; serverId: string; timetag: number }
Type declaration
channelId: string
Optional limit?: number
serverId: string
timetag: number
GetExistingAccidsInServerRoleOptions
GetExistingAccidsInServerRoleOptions: { accids: string[]; roleId: string; serverId: string }
Type declaration
accids: string[]
roleId: string
serverId: string
GetExistingAccidsOfMemberRolesOptions
GetExistingAccidsOfMemberRolesOptions: { accids: string[]; channelId: string; serverId: string }
Type declaration
accids: string[]
channelId: string
serverId: string
GetExistingChannelRolesByServerRoleIdsOptions
GetExistingChannelRolesByServerRoleIdsOptions: { channelId: string; roleIds: string[]; serverId: string }
Type declaration
channelId: string
roleIds: string[]
serverId: string
GetExistingServerRolesByAccidsOptions
GetExistingServerRolesByAccidsOptions: { accids: string[]; serverId: string }
Type declaration
accids: string[]
serverId: string
GetExistingServerRolesByAccidsResult
GetExistingServerRolesByAccidsResult: {}
GetMemberRolesOptions
GetMemberRolesOptions: { channelId: string; limit: number; serverId: string; timetag: number }
Type declaration
channelId: string
limit: number
serverId: string
timetag: number
GetMembersFromServerRoleOptions
GetMembersFromServerRoleOptions: { accid?: string; limit?: number; roleId: string; serverId: string; timetag?: number }
Type declaration
Optional accid?: string
Optional limit?: number
roleId: string
serverId: string
Optional timetag?: number
GetServerRolesByAccidOptions
GetServerRolesByAccidOptions: { accid: string; limit: number; serverId: string; timetag: number }
Type declaration
accid: string
limit: number
serverId: string
timetag: number
GetServerRolesOptions
GetServerRolesOptions: { categoryId?: string; channelId?: string; limit?: number; priority?: number; serverId: string }
Type declaration
Optional categoryId?: string
Optional channelId?: string
Optional limit?: number
Optional priority?: number
serverId: string
GetServerRolesResult
Get
Server
Roles
Result
: { isMemberRoles
: string[]; roles
: QChatServerRole[] }QChatChannelCategoryMemberRole
QChat
Channel
Category
Member
Role
: { accid
: string; auths
: QChatRoleAuth; avatar
?: string; categoryId
: string; createTime
: number; ext
?: string; id
: string; inviter
: string; joinTime
: number; memberType
: TMemberType; nick
?: string; serverId
: string; updateTime
: number; validFlag
: boolean }Type declaration
accid: string
Optional avatar?: string
categoryId: string
createTime: number
Optional ext?: string
id: string
inviter: string
joinTime: number
Optional nick?: string
serverId: string
updateTime: number
validFlag: boolean
QChatChannelCategoryRole
QChat
Channel
Category
Role
: { auths
: QChatRoleAuth; categoryId
: string; createTime
: number; ext
?: string; icon
?: string; name
: string; parentRoleId
: string; roleId
: string; serverId
: string; type
: TRoleType; updateTime
: number; validFlag
: boolean }Type declaration
categoryId: string
createTime: number
Optional ext?: string
Optional icon?: string
name: string
parentRoleId: string
roleId: string
serverId: string
updateTime: number
validFlag: boolean
QChatChannelRole
QChat
Channel
Role
: { auths
: QChatRoleAuth; channelId
: string; createTime
: number; ext
?: string; icon
?: string; name
: string; parentRoleId
: string; roleId
: string; serverId
: string; type
: TRoleType; updateTime
: number }Type declaration
channelId: string
createTime: number
Optional ext?: string
Optional icon?: string
name: string
parentRoleId: string
roleId: string
serverId: string
updateTime: number
QChatCheckPermissionsOptions
QChat
Check
Permissions
Options
: { auths
: QChatRoleAuthKey[]; channelId
?: string; serverId
: string }Type declaration
Optional channelId?: string
serverId: string
QChatCheckPermissionsResult
QChatMemberRole
QChat
Member
Role
: { accid
: string; auths
: QChatRoleAuth; avatar
?: string; channelId
: string; createTime
: number; ext
?: string; id
: string; inviter
: string; joinTime
: number; memberType
: TMemberType; nick
?: string; serverId
: string; updateTime
: number }Type declaration
accid: string
Optional avatar?: string
channelId: string
createTime: number
Optional ext?: string
id: string
inviter: string
joinTime: number
Optional nick?: string
serverId: string
updateTime: number
QChatServerRole
QChat
Server
Role
: { auths
: QChatRoleAuth; createTime
: number; ext
?: string; icon
: string; memberCount
: number; name
: string; priority
: number; roleId
: string; serverId
: string; type
: TRoleType; updateTime
: number }Type declaration
createTime: number
Optional ext?: string
icon: string
memberCount: number
name: string
priority: number
roleId: string
serverId: string
updateTime: number
QChatServerRoleMember
QChatServerRoleMember: { accid: string; createTime: number; roleId: string; serverId: string; updateTime: number }
Type declaration
accid: string
createTime: number
roleId: string
serverId: string
updateTime: number
RemoveChannelCategoryMemberRoleOptions
RemoveChannelCategoryMemberRoleOptions: { accid: string; categoryId: string; serverId: string }
Type declaration
accid: string
categoryId: string
serverId: string
RemoveChannelCategoryRoleOptions
RemoveChannelCategoryRoleOptions: { categoryId: string; roleId: string; serverId: string }
Type declaration
categoryId: string
roleId: string
serverId: string
RemoveChannelRoleOptions
RemoveChannelRoleOptions: { channelId: string; roleId: string; serverId: string }
Type declaration
channelId: string
roleId: string
serverId: string
RemoveMemberRoleOptions
RemoveMemberRoleOptions: { accid: string; channelId: string; serverId: string }
Type declaration
accid: string
channelId: string
serverId: string
RemoveMembersFromServerRoleOptions
RemoveMembersFromServerRoleOptions: { accids: string[]; roleId: string; serverId: string }
Type declaration
accids: string[]
roleId: string
serverId: string
RemoveMembersFromServerRoleResult
RemoveMembersFromServerRoleResult: { failedAccids: string[]; successAccids: string[] }
Type declaration
failedAccids: string[]
successAccids: string[]
UpdateChannelCategoryMemberRoleOptions
Update
Channel
Category
Member
Role
Options
: { accid
: string; auths
: QChatRoleAuth; categoryId
: string; serverId
: string }Type declaration
accid: string
categoryId: string
serverId: string
UpdateChannelCategoryRoleOptions
Update
Channel
Category
Role
Options
: { auths
: QChatRoleAuth; categoryId
: string; roleId
: string; serverId
: string }Type declaration
categoryId: string
roleId: string
serverId: string
UpdateChannelRoleOptions
Update
Channel
Role
Options
: { auths
: Partial<QChatRoleAuth>; channelId
: string; roleId
: string; serverId
: string }Type declaration
channelId: string
roleId: string
serverId: string
UpdateMemberRoleOptions
Update
Member
Role
Options
: { accid
: string; auths
: Partial<QChatRoleAuth>; channelId
: string; serverId
: string }Type declaration
accid: string
channelId: string
serverId: string
UpdateServerRoleOptions
Update
Server
Role
Options
: { antispamTag
?: AntispamTag; auths
?: QChatRoleAuth; ext
?: string; icon
?: string; name
?: string; priority
?: number; roleId
: string; serverId
: string }Type declaration
Optional antispamTag?: AntispamTag
Optional ext?: string
Optional icon?: string
Optional name?: string
Optional priority?: number
roleId: string
serverId: string
UpdateServerRolePrioritiesOptions
Update
Server
Role
Priorities
Options
: { serverId
: string; serverRoles
: Partial<QChatServerRole>[] }UpdateServerRolesOptions
UpdateServerRolesOptions: { serverId: string; value: { ext?: string; icon?: string; name?: string; priority?: number; roleId: string }[] }
Type declaration
serverId: string
value: { ext?: string; icon?: string; name?: string; priority?: number; roleId: string }[]
account ID, 账号