File size: 365 Bytes
83a59ca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package responses

import "github.com/NdoleStudio/httpsms/pkg/entities"

// MessageResponse is the payload containing an entities.Message
type MessageResponse struct {
	response
	Data entities.Message `json:"data"`
}

// MessagesResponse is the payload containing []entities.Message
type MessagesResponse struct {
	response
	Data []entities.Message `json:"data"`
}