ppagent / IWCAISourceOptions
Interface: IWCAISourceOptions
Defined in: src/source/wcai.source.ts:37
一个source可以有多个实例,比如不同的api地址,由用户配置
Extends
Properties
aesKey
aesKey:
string
Defined in: src/source/wcai.source.ts:43
apiBase?
optional
apiBase:string
Defined in: src/source/wcai.source.ts:44
appId
appId:
string
Defined in: src/source/wcai.source.ts:41
对话开放平台的appId
autoReLogin?
optional
autoReLogin:boolean
Defined in: src/source/source.ts:15
离线后是否自动重新请求登陆,默认false
Inherited from
instanceName?
optional
instanceName:string
Defined in: src/instance.base.manager.ts:10
用来区分不同实例的全局唯一key
Inherited from
me
me:
ISourceUserInfo
Defined in: src/source/wcai.source.ts:48
用来识别公众平台消息源(机器人)的信息,可以自定义
token
token:
string
Defined in: src/source/wcai.source.ts:42