push messages to telegram from contactUs form

This commit is contained in:
2025-05-22 16:40:13 +03:00
parent 29d3af2ea1
commit 2b902ef0c9
6 changed files with 32 additions and 23 deletions

View File

@@ -137,15 +137,15 @@ export interface AccountSidebarProps {
navigation: NavigationItem[]
}
export type SourceType = 'main' | 'admin' | 'userAccount' | 'contactUs' | 'support'
export interface TelegramMessage {
source: string
source: SourceType
name: string
phone_number: string
message: string
}
export type SourceType = 'account' | 'contact-us'
export interface TextAreaProps {
value: string
handleChange: (e: React.ChangeEvent<HTMLTextAreaElement>) => void