vk-webhook-flooder-mock/dto/dto.go
2023-01-13 13:28:05 +03:00

22 lines
467 B
Go

package dto
import "time"
// MessagesResponse message event response.
type MessagesResponse struct {
MessageID int `json:"message_id,omitempty"`
Time time.Time `json:"time,omitempty"`
}
type VKRequest struct {
AccessToken string `form:"access_token,omitempty"`
V string `form:"v,omitempty"`
}
type UsersGetRequest struct {
VKRequest
Lang int `form:"lang"`
UserIDs []string `form:"user_ids"`
Fields string `form:"fields"`
}