import type { UseFormReturn } from "react-hook-form"; import { FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage } from "~/client/components/ui/form"; import { Input } from "~/client/components/ui/input"; import { SecretInput } from "~/client/components/ui/secret-input"; import type { NotificationFormValues } from "../create-notification-form"; type Props = { form: UseFormReturn; }; export const TelegramForm = ({ form }: Props) => { return ( <> ( Bot Token Telegram bot token. Get this from BotFather when you create your bot. )} /> ( Chat ID Telegram chat ID to send notifications to. )} /> ( Thread ID (Optional) Telegram Group Topic ID to send notifications to. )} /> ); };