extended dto

This commit is contained in:
nquidox 2025-03-29 21:58:33 +03:00
parent 082afea891
commit 4540519753
3 changed files with 8 additions and 0 deletions

View file

@ -3,4 +3,5 @@ package dto
type DiscordDTO struct {
AuthorName string
Content string
Images *[]Image
}

6
dto/image.go Normal file
View file

@ -0,0 +1,6 @@
package dto
type Image struct {
Data []byte
Filename string
}

View file

@ -3,4 +3,5 @@ package dto
type TelegramDTO struct {
AuthorName string
Content string
Images *[]Image
}