Telegram-user: add poll hint for agents

This commit is contained in:
Muhammed Mukhthar CM committed 2026-01-30 12:19:19 +00:00
1 parent e1a2a1b9b6
commit 8bc17b39eb
1 file changed
+5
+5
View File
@@ -158,6 +158,11 @@ export const telegramUserPlugin: ChannelPlugin<ResolvedTelegramUserAccount> = {
return ["poll"];
},
},
agentPrompt: {
messageToolHints: () => [
"Telegram user polls only work in groups/channels (DM polls return MEDIA_INVALID). Use the group id for polls.",
],
},
outbound: {
deliveryMode: "direct",
chunker: (text, limit) =>