diff --git a/src/config/types.telegram.ts b/src/config/types.telegram.ts index 8faa7a34cef..2a516893557 100644 --- a/src/config/types.telegram.ts +++ b/src/config/types.telegram.ts @@ -299,8 +299,6 @@ export type TelegramDirectConfig = { skills?: string[]; /** Per-topic configuration for DM topics (key is message_thread_id as string) */ topics?: Record; - /** Per-DM override for message_thread_id session threading. */ - threadReplies?: TelegramDmThreadReplies; /** If false, disable the bot for this DM (and its topics). */ enabled?: boolean; /** If true, require messages to be from a topic when topics are enabled. */ diff --git a/src/config/zod-schema.providers-core.ts b/src/config/zod-schema.providers-core.ts index 83e58cf73ab..5e044fb1fcb 100644 --- a/src/config/zod-schema.providers-core.ts +++ b/src/config/zod-schema.providers-core.ts @@ -178,7 +178,6 @@ export const TelegramDirectSchema = z allowFrom: z.array(z.union([z.string(), z.number()])).optional(), systemPrompt: z.string().optional(), topics: z.record(z.string(), TelegramTopicSchema.optional()).optional(), - threadReplies: TelegramDmThreadRepliesSchema.optional(), errorPolicy: TelegramErrorPolicySchema, errorCooldownMs: z.number().int().nonnegative().optional(), requireTopic: z.boolean().optional(),