22 lines
467 B
Go
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"`
|
||
|
}
|