mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 22:44:36 +00:00
fix(telegram): block unauthorized DM media downloads
This commit is contained in:
@@ -91,6 +91,7 @@ export type RegisterTelegramHandlerParams = {
|
||||
opts: TelegramBotOptions;
|
||||
runtime: RuntimeEnv;
|
||||
telegramCfg: TelegramAccountConfig;
|
||||
allowFrom?: Array<string | number>;
|
||||
groupAllowFrom?: Array<string | number>;
|
||||
resolveGroupPolicy: (chatId: string | number) => ChannelGroupPolicy;
|
||||
resolveTelegramGroupConfig: (
|
||||
|
||||
Reference in New Issue
Block a user