Search
Preparing search index...
The search index is not available
ts-sdk
Options
All
Public
Public/Protected
All
Inherited
Menu
ts-sdk
we-chat/guest
JuphoonWeChatGuest
Namespace JuphoonWeChatGuest
Index
Variables
config
Functions
create
Guest
Client
get
Version
set
Config
Variables
Const
config
config
:
SDKConfig
<
WeChatGuest
,
WeChatSocket
>
= ...
Functions
create
Guest
Client
create
Guest
Client
(
appKey
:
string
, token
:
string
, socketAddress
?:
string
)
:
WeChatGuest
创建访客Client
Parameters
appKey:
string
appKey
token:
string
自行获取到的token
Optional
socketAddress:
string
WebSocket的连接地址
Returns
WeChatGuest
get
Version
get
Version
(
)
:
any
desc
获取SDK版本信息
Returns
any
set
Config
set
Config
(
_config
:
SDKConfigDef
)
:
void
配置SDK参数
Parameters
_config:
SDKConfigDef
见
SDKConfigDef
Returns
void
Exports
we-
chat/guest
Juphoon
WeChat
Guest
config
create
Guest
Client
get
Version
set
Config
Generated using
TypeDoc
创建访客Client