Skip to content

chatroom_def.chatroom_def.ChatRoomEnterInfoValue

Zvicii edited this page Oct 24, 2022 · 4 revisions

Interface: ChatRoomEnterInfoValue

chatroom_def/chatroom_def.ChatRoomEnterInfoValue

Table of contents

Properties

Properties

nick

Optional nick: string

设置进入聊天室后展示的昵称

Defined in

ts/chatroom_def/chatroom_def.ts:177


avatar

Optional avatar: string

设置进入聊天室后展示的头像

Defined in

ts/chatroom_def/chatroom_def.ts:179


ext

Optional ext: string

设置聊天室可用的扩展字段

Defined in

ts/chatroom_def/chatroom_def.ts:181


notify_ext

Optional notify_ext: string

设置进入聊天室通知开发者扩展字段

Defined in

ts/chatroom_def/chatroom_def.ts:183


login_tags

Optional login_tags: string[]

设置登录携带的 tag 列表

Defined in

ts/chatroom_def/chatroom_def.ts:185


notify_tags

Optional notify_tags: string

登录时携带的 notify tag 表达式

Defined in

ts/chatroom_def/chatroom_def.ts:187


auth_type

Optional auth_type: number

设置鉴权方式 0表示最初的loginToken的校验方式,1表示基于appSecret计算的token鉴权方式,2表示基于第三方回调的token鉴权方式

Defined in

ts/chatroom_def/chatroom_def.ts:189


login_ext

Optional login_ext: string

登录自定义字段

Defined in

ts/chatroom_def/chatroom_def.ts:191


anti_spam_business_id

Optional anti_spam_business_id: string

配置反垃圾相关业务id

Defined in

ts/chatroom_def/chatroom_def.ts:193


enable_location

Optional enable_location: boolean

是否启用聊天室空间位置信息功能,启用后 SetLocation 功能才生效,否则 SDK 不解析 Location 信息

Defined in

ts/chatroom_def/chatroom_def.ts:195


location_x

Optional location_x: number

登录聊天室时传递的位置信息

Defined in

ts/chatroom_def/chatroom_def.ts:197


location_y

Optional location_y: number

Defined in

ts/chatroom_def/chatroom_def.ts:198


location_z

Optional location_z: number

Defined in

ts/chatroom_def/chatroom_def.ts:199


location_distance

Optional location_distance: number

Defined in

ts/chatroom_def/chatroom_def.ts:200

Clone this wiki locally