vk-webhook-flooder-mock/dto/dto.go

22 lines
467 B
Go
Raw Permalink Normal View History

2023-01-13 13:28:05 +03:00
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"`
}