add: topic channel id support

This commit is contained in:
Théo LAGACHE
2026-03-02 10:27:21 +01:00
parent f1edffed17
commit f04503e38e
2 changed files with 67 additions and 38 deletions
@@ -43,6 +43,22 @@ export const NotifierTelegramForm = ({form}: NotifierTelegramFormProps) => {
</FormItem>
)}
/>
<FormField
control={form.control}
name="config.telegramTopicId"
render={({field}) => (
<FormItem>
<FormLabel>Telegram Topic ID</FormLabel>
<FormControl>
<Input {...field} placeholder="123456"/>
</FormControl>
<p className="text-xs text-muted-foreground">
Unique identifier for the target message thread (topic) of the forum; for forum supergroups only
</p>
<FormMessage/>
</FormItem>
)}
/>
</>
)
}