18 lines
508 B
Go
18 lines
508 B
Go
package entity
|
|
|
|
import "time"
|
|
|
|
// VoiceSample tracks all files produced during voice message processing.
|
|
// Files are kept on disk until Cleanup() is called after successful analysis.
|
|
type VoiceSample struct {
|
|
ID string
|
|
UserID int64
|
|
ChatID int64
|
|
FileIDTg string // original Telegram file ID
|
|
OGGPath string // downloaded raw audio
|
|
WAVPath string // ffmpeg-converted audio
|
|
VTTPath string // WebVTT subtitle file generated by Whisper
|
|
Transcript string
|
|
CreatedAt time.Time
|
|
}
|