qopscribe/speech_service/models.py

18 lines
270 B
Python
Raw Permalink Normal View History

2025-02-23 16:22:33 +01:00
from dataclasses import dataclass
2025-03-03 03:22:31 +01:00
from typing import List
2025-02-23 16:22:33 +01:00
@dataclass
class AudioTask:
uuid: str
file_path: str
user_id: int
chat_id: int
message_id: int
2025-03-03 03:22:31 +01:00
@dataclass
class TextTask:
user_id: int
chat_id: int
message_id: int
text: str