mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:00:43 +00:00
fix: remove duplicate Telegram thread config fields
This commit is contained in:
@@ -299,8 +299,6 @@ export type TelegramDirectConfig = {
|
||||
skills?: string[];
|
||||
/** Per-topic configuration for DM topics (key is message_thread_id as string) */
|
||||
topics?: Record<string, TelegramTopicConfig>;
|
||||
/** 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. */
|
||||
|
||||
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user