// Copyright 2026 Arctel.net // SPDX-License-Identifier: Apache-2.0 'use client'; import { useTranslations } from 'next-intl'; import { Input } from '@/components/ui/input'; import { Label } from '@/components/ui/label'; export interface TelegramFormValue { bot_token: string; base_url: string; } interface TelegramFormProps { value: TelegramFormValue; onChange: (value: TelegramFormValue) => void; keepSecretHint?: boolean; } export function TelegramForm({ value, onChange, keepSecretHint, }: TelegramFormProps) { const t = useTranslations('admin.messageGateway'); return (