JoinParams
Properties
classId
classId:
number
课堂 ID(必填)
groupLiveCode?
optionalgroupLiveCode?:string
分组直播的子房间号(分组直播课时传入,对应老项目 group_live_code)
location?
optionallocation?:string
位置信息(可选,JSON 字符串或 boolean,对应老项目 location 字段)
role?
optionalrole?:Role
角色(可选,SDK 会从 classInfo 推断)
token
token:
string
业务 token(必填,由服务端签发)
userId
userId:
string
用户 ID(必填)