import { UseFormReturn } from "react-hook-form"; import { FormControl, FormField, FormItem, FormLabel, FormMessage, } from "@/components/ui/form"; import { Input } from "@/components/ui/input"; import { Separator } from "@/components/ui/separator"; import { PasswordInput } from "@/components/ui/password-input"; type NotifierTelegramFormProps = { form: UseFormReturn; }; export const NotifierTelegramForm = ({ form }: NotifierTelegramFormProps) => { return ( <> ( Telegram Bot Token * )} /> ( Telegram Chat ID *

You must start the conversation with the bot first ( /start).
For groups, add the bot to the group.
You can use{" "} @userinfobot {" "} to find your ID.

)} /> ( Telegram Topic ID

Unique identifier for the target message thread (topic) of the forum; for forum supergroups only

)} /> ); };