extended dto
This commit is contained in:
parent
082afea891
commit
4540519753
3 changed files with 8 additions and 0 deletions
|
|
@ -3,4 +3,5 @@ package dto
|
|||
type DiscordDTO struct {
|
||||
AuthorName string
|
||||
Content string
|
||||
Images *[]Image
|
||||
}
|
||||
|
|
|
|||
6
dto/image.go
Normal file
6
dto/image.go
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
package dto
|
||||
|
||||
type Image struct {
|
||||
Data []byte
|
||||
Filename string
|
||||
}
|
||||
|
|
@ -3,4 +3,5 @@ package dto
|
|||
type TelegramDTO struct {
|
||||
AuthorName string
|
||||
Content string
|
||||
Images *[]Image
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue