feat(history): establish Telegram SaaS platform foundation
This commit is contained in:
@@ -28,6 +28,8 @@ export interface Message {
|
||||
type: MessageType
|
||||
originalText: string
|
||||
translatedText?: string
|
||||
translationStatus?: 'pending' | 'completed' | 'failed'
|
||||
translatedAt?: string
|
||||
originalLang: string
|
||||
status: MessageStatus
|
||||
createdAt: string
|
||||
@@ -35,6 +37,12 @@ export interface Message {
|
||||
internalNote?: string
|
||||
attachmentName?: string
|
||||
productCard?: { name: string; sku: string; price: string }
|
||||
replyToId?: string
|
||||
replyPreview?: string
|
||||
telegramFileId?: number
|
||||
attachmentMimeType?: string
|
||||
attachmentSize?: number
|
||||
stickerEmoji?: string
|
||||
}
|
||||
|
||||
export interface Conversation {
|
||||
@@ -80,6 +88,7 @@ export interface ChannelSyncLog {
|
||||
export interface SendMessagePayload {
|
||||
text: string
|
||||
replyToId?: string
|
||||
replyPreview?: string
|
||||
type?: MessageType
|
||||
attachmentName?: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user