feat: unify provider history context
This commit is contained in:
@@ -13,9 +13,13 @@ export type MsgContext = {
|
||||
Body?: string;
|
||||
/**
|
||||
* Raw message body without structural context (history, sender labels).
|
||||
* Used for command detection. Falls back to Body if not set.
|
||||
* Legacy alias for CommandBody. Falls back to Body if not set.
|
||||
*/
|
||||
RawBody?: string;
|
||||
/**
|
||||
* Prefer for command detection; RawBody is treated as legacy alias.
|
||||
*/
|
||||
CommandBody?: string;
|
||||
From?: string;
|
||||
To?: string;
|
||||
SessionKey?: string;
|
||||
|
||||
Reference in New Issue
Block a user