Documentation / @agentick/connector-telegram / TelegramPluginOptions
Interface: TelegramPluginOptions ​
Defined in: telegram-plugin.ts:13
Properties ​
allowedUsers? ​
optionalallowedUsers:number[]
Defined in: telegram-plugin.ts:17
Whitelist of allowed Telegram user IDs. Empty = allow all.
chatId? ​
optionalchatId:number
Defined in: telegram-plugin.ts:19
Specific chat ID to use. If omitted, auto-detects from first message.
confirmationStyle? ​
optionalconfirmationStyle:"text"|"inline-keyboard"
Defined in: telegram-plugin.ts:21
How to present tool confirmations. Default: "inline-keyboard".
sessionKeyPattern()? ​
optionalsessionKeyPattern: (chatId) =>string
Defined in: telegram-plugin.ts:23
Session key pattern. Default: "default:telegram-{chatId}"
Parameters ​
chatId ​
number
Returns ​
string
token ​
token:
string
Defined in: telegram-plugin.ts:15
Telegram bot token.