Skip to content

chatroom_def.chatroom_def.ChatRoomEnterInfoValue

Zvicii edited this page Jul 8, 2022 · 4 revisions

Interface: ChatRoomEnterInfoValue

chatroom_def/chatroom_def.ChatRoomEnterInfoValue

Table of contents

Properties

Properties

nick

nick: string

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

Defined in

ts/chatroom_def/chatroom_def.ts:163


avatar

avatar: string

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

Defined in

ts/chatroom_def/chatroom_def.ts:165


ext

ext: string

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

Defined in

ts/chatroom_def/chatroom_def.ts:167


notify_ext

notify_ext: string

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

Defined in

ts/chatroom_def/chatroom_def.ts:169


login_tags

login_tags: string[]

设置登录携带的 tag 列表

Defined in

ts/chatroom_def/chatroom_def.ts:171


notify_tags

notify_tags: string

登录时携带的 notify tag 表达式

Defined in

ts/chatroom_def/chatroom_def.ts:173


auth_type

auth_type: number

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

Defined in

ts/chatroom_def/chatroom_def.ts:175


login_ext

login_ext: string

登录自定义字段

Defined in

ts/chatroom_def/chatroom_def.ts:177


anti_spam_business_id

anti_spam_business_id: string

配置反垃圾相关业务id

Defined in

ts/chatroom_def/chatroom_def.ts:179


enable_location

enable_location: boolean

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

Defined in

ts/chatroom_def/chatroom_def.ts:181


location_x

location_x: number

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

Defined in

ts/chatroom_def/chatroom_def.ts:183


location_y

location_y: number

Defined in

ts/chatroom_def/chatroom_def.ts:184


location_z

location_z: number

Defined in

ts/chatroom_def/chatroom_def.ts:185


location_distance

location_distance: number

Defined in

ts/chatroom_def/chatroom_def.ts:186

Clone this wiki locally