feat: initial commit
This commit is contained in:
17
internal/application/dto/incoming_message.go
Normal file
17
internal/application/dto/incoming_message.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package dto
|
||||
|
||||
import "time"
|
||||
|
||||
type IncomingMessageDTO struct {
|
||||
MessageID int64
|
||||
ChatID int64
|
||||
UserID int64
|
||||
Username string
|
||||
FirstName string
|
||||
LastName string
|
||||
Text string
|
||||
VoiceFileID string
|
||||
IsVoice bool
|
||||
Timestamp time.Time
|
||||
Language string
|
||||
}
|
||||
7
internal/application/dto/workflow_result.go
Normal file
7
internal/application/dto/workflow_result.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package dto
|
||||
|
||||
type WorkflowResultDTO struct {
|
||||
RequestID string
|
||||
ReplyText string
|
||||
Error error
|
||||
}
|
||||
Reference in New Issue
Block a user