Skip to content

chatroom_def.chatroom_def.ChatRoomIndependentEnterInfo

Zvicii edited this page Oct 24, 2022 · 4 revisions

Interface: ChatRoomIndependentEnterInfo

chatroom_def/chatroom_def.ChatRoomIndependentEnterInfo

Table of contents

Properties

Properties

address_

Optional address_: string[]

聊天室地址,地址通过应用服务器接口获取

Defined in

ts/chatroom_def/chatroom_def.ts:121


app_data_file_

Optional app_data_file_: string

应用数据目录

Defined in

ts/chatroom_def/chatroom_def.ts:123


sdk_log_level_

Optional sdk_log_level_: number

匿名登录时选填,定义见NIMSDKLogLevel(选填,SDK默认的内置级别为kNIMSDKLogLevelPro)

Defined in

ts/chatroom_def/chatroom_def.ts:125


app_key_

Optional app_key_: string

应用appkey,匿名登录时必填

Defined in

ts/chatroom_def/chatroom_def.ts:127


accid_

Optional accid_: string

登录聊天室的账号

Defined in

ts/chatroom_def/chatroom_def.ts:129


token_

Optional token_: string

登录聊天室的密码

Defined in

ts/chatroom_def/chatroom_def.ts:131


login_tags_

Optional login_tags_: string[]

登录标签,可以设置多个

Defined in

ts/chatroom_def/chatroom_def.ts:133


notify_tags_

Optional notify_tags_: string

登录登出通知的目标标签

Defined in

ts/chatroom_def/chatroom_def.ts:135


location_

Optional location_: NIMChatRoomLocation

位置坐标描述

Defined in

ts/chatroom_def/chatroom_def.ts:137


enable_location_

Optional enable_location_: boolean

是否启用空间消息能力,true 为启用,false 为关闭,SDK 不解析 location 相关信息

Defined in

ts/chatroom_def/chatroom_def.ts:139


auth_type_

Optional auth_type_: number

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

Defined in

ts/chatroom_def/chatroom_def.ts:141


login_ext_

Optional login_ext_: string

登录自定义字段

Defined in

ts/chatroom_def/chatroom_def.ts:143


anti_spam_business_id_

Optional anti_spam_business_id_: string

反垃圾相关业务id

Defined in

ts/chatroom_def/chatroom_def.ts:145

Clone this wiki locally