feat(config): gate channel config writes
This commit is contained in:
1 parent
f65668cb5f
commit
ad8799522c
28 files changed
+576
-2
No files matched your search
@@ -21,6 +21,8 @@ export type TelegramAccountConfig = {
|
||||
capabilities?: string[];
|
||||
/** Override native command registration for Telegram (bool or "auto"). */
|
||||
commands?: ProviderCommandsConfig;
|
||||
/** Allow channel-initiated config writes (default: true). */
|
||||
configWrites?: boolean;
|
||||
/**
|
||||
* Controls how Telegram direct chats (DMs) are handled:
|
||||
* - "pairing" (default): unknown senders get a pairing code; owner must approve
|
||||
|
||||
Reference in new issue
Block a user