Skip to content

qchat_def.public_def.QChatServerRoleInfo

Zvicii edited this page Jul 7, 2023 · 9 revisions

Interface: QChatServerRoleInfo

qchat_def/public_def.QChatServerRoleInfo

Table of contents

Properties

Properties

server_id

Optional server_id: string

服务器ID

Defined in

ts/qchat_def/public_def.ts:707


role_id

Optional role_id: string

身份组id

Defined in

ts/qchat_def/public_def.ts:709


role_name

Optional role_name: string

身份组名称

Defined in

ts/qchat_def/public_def.ts:711


role_icon

Optional role_icon: string

身份组图片 URL

Defined in

ts/qchat_def/public_def.ts:713


extension

Optional extension: string

身份组扩展字段

Defined in

ts/qchat_def/public_def.ts:715


permissions

Optional permissions: QChatPermission

身份组权限设定

Defined in

ts/qchat_def/public_def.ts:717


role_type

Optional role_type: NIMQChatRoleType

身份组类型 1 表示 Everyone,2 表示定制身份组

Defined in

ts/qchat_def/public_def.ts:719


create_time

Optional create_time: number

身份组创建时间

Defined in

ts/qchat_def/public_def.ts:721


update_time

Optional update_time: number

身份组修改时间

Defined in

ts/qchat_def/public_def.ts:723


member_count

Optional member_count: number

该身份组的成员数量,Everyone 身份组数量为 -1

Defined in

ts/qchat_def/public_def.ts:725


priority

Optional priority: number

身份组优先级,Everyone 最高为 0,数字越大优先级越低,自定义优先级区间 1~9007199254740991

Defined in

ts/qchat_def/public_def.ts:727

Clone this wiki locally