More granular error handling
+ task queue refactoring
This commit is contained in:
@@ -23,3 +23,7 @@ type AudioRecognizer interface {
|
||||
GetRecognitionText(operationID string) (string, error)
|
||||
CheckRecognitionStatus(operationID string) (*entity.RecognitionResult, error)
|
||||
}
|
||||
|
||||
type TelegramMessageSender interface {
|
||||
Send(text string, chatId int64, replyToMessageId *int) error
|
||||
}
|
||||
|
Reference in New Issue
Block a user