refactor: drop legacy session store keys
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import type { NormalizedChatType } from "../channels/chat-type.js";
|
||||
|
||||
export type ReplyMode = "text" | "command";
|
||||
export type TypingMode = "never" | "instant" | "thinking" | "message";
|
||||
export type SessionScope = "per-sender" | "global";
|
||||
@@ -41,7 +43,7 @@ export type HumanDelayConfig = {
|
||||
export type SessionSendPolicyAction = "allow" | "deny";
|
||||
export type SessionSendPolicyMatch = {
|
||||
channel?: string;
|
||||
chatType?: "direct" | "group" | "channel";
|
||||
chatType?: NormalizedChatType;
|
||||
keyPrefix?: string;
|
||||
};
|
||||
export type SessionSendPolicyRule = {
|
||||
|
||||
Reference in New Issue
Block a user