mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-17 07:21:37 +00:00
Merged via squash.
Prepared head SHA: 90f51eafd5
Co-authored-by: lanzhi-lee <36190508+lanzhi-lee@users.noreply.github.com>
Co-authored-by: vincentkoc <25068+vincentkoc@users.noreply.github.com>
Reviewed-by: @vincentkoc
19 lines
619 B
TypeScript
19 lines
619 B
TypeScript
export interface PluginHookChannelSenderContext {
|
|
/** Channel-scoped sender ID, matching `ctx.senderId` when both are present. */
|
|
id?: string;
|
|
[key: string]: unknown;
|
|
}
|
|
|
|
export interface PluginHookChannelChatContext {
|
|
/** Transport-native conversation ID, matching `ctx.chatId` when both are present. */
|
|
id?: string;
|
|
[key: string]: unknown;
|
|
}
|
|
|
|
export interface PluginHookChannelContext {
|
|
/** Sender metadata supplied by the originating channel. */
|
|
sender?: PluginHookChannelSenderContext;
|
|
/** Chat/conversation metadata supplied by the originating channel. */
|
|
chat?: PluginHookChannelChatContext;
|
|
}
|