ppagent / ISourceGroupChatMessage
Interface: ISourceGroupChatMessage
Defined in: src/source/source.ts:446
Extends
Properties
atList?
optional
atList:string
[]
Defined in: src/source/source.ts:434
Inherited from
content
content:
SourceChatContent
Defined in: src/source/source.ts:411
Inherited from
customType?
optional
customType:string
Defined in: src/source/source.ts:439
自定义类型时的名称
Inherited from
error?
optional
error:string
Defined in: src/source/source.ts:435
Inherited from
fromId?
optional
fromId:string
Defined in: src/source/source.ts:416
消息来源ID,如果是个人消息,同senderId,如果是群消息,是群Id
Inherited from
groupInfo
groupInfo:
ISourceUserInfo
Defined in: src/source/source.ts:447
isAdmin?
optional
isAdmin:boolean
Defined in: src/source/source.ts:448
isGroupChat
isGroupChat:
boolean
Defined in: src/source/source.ts:425
Inherited from
ISourceChatMessage
.isGroupChat
isOwner?
optional
isOwner:boolean
Defined in: src/source/source.ts:449
isSender?
optional
isSender:boolean
Defined in: src/source/source.ts:426
Inherited from
messageId?
optional
messageId:string
Defined in: src/source/source.ts:433
Inherited from
origin?
optional
origin:any
Defined in: src/source/source.ts:432
Inherited from
senderId?
optional
senderId:string
Defined in: src/source/source.ts:420
发消息人的ID
Inherited from
senderInfo?
optional
senderInfo:ISourceUserInfo
Defined in: src/source/source.ts:427
Inherited from
senderName?
optional
senderName:string
Defined in: src/source/source.ts:424
发消息的用户名(一般也是唯一),不管是群消息还是个人消息,都应该是发送者(个人)的名称
Inherited from
status?
optional
status:"content"
|"reasoning"
Defined in: src/source/source.ts:443
消息状态,仅用于标记大模型返回的消息。reasoning表示推理过程消息,content表示回复的消息。为空表示content。
Inherited from
time?
optional
time:Date
Defined in: src/source/source.ts:412
Inherited from
toInfo
toInfo:
ISourceUserInfo
[]
Defined in: src/source/source.ts:431
如果是群消息,则是群信息(具体使用哪个字段发送由source决定)
Inherited from
type
type:
SourceChatMessageType
Defined in: src/source/source.ts:410