ppagent / ISourceParamas
Interface: ISourceParamas
Defined in: src/source/source.ts:21
params应该由source供应商提供
Extends
Extended by
Properties
autoAppendAt?
optionalautoAppendAt:boolean
Defined in: src/source/source.ts:36
是否不要在@的时候自动加上@fieldInAtList的值。默认false,即不会自动附加。
desc?
optionaldesc:string
Defined in: src/config.ts:68
Inherited from
eventNames
eventNames:
string[]
Defined in: src/source/source.ts:32
可以被外界监听的消息类型 内置类型可以从SourceEventTypes中选择,也可以加入自定义类型。
fieldInAtList?
optionalfieldInAtList:"userName"|"userId"|"nickName"
Defined in: src/source/source.ts:27
@ 相关功能的时候,atList里面是用户信息的哪个字段,默认是userId,不同的source可能会有区别,可以在此配置
可以配置的值有:userName userId nickName
logoPath?
optionallogoPath:string
Defined in: src/config.ts:72
公共目录的相对路径,如 /public/images/logo.png
Inherited from
name
name:
string
Defined in: src/config.ts:67
类型的名称(非实例名称),所有该类型的实例都一样
Inherited from
optionsSchema
optionsSchema:
IConfigSchema
Defined in: src/config.ts:76
实例属性配置的结构
Inherited from
readMeUrl?
optionalreadMeUrl:string
Defined in: src/config.ts:85
使用文档地址
Inherited from
supported?
optionalsupported:object
Defined in: src/config.ts:77
groupInAndOut?
optionalgroupInAndOut:boolean
inTypes?
optionalinTypes:SourceChatMessageType[]
outTypes?
optionaloutTypes:SourceChatMessageType[]