Documentation ¶
Index ¶
- type Api
- func (api *Api) GroupsGetByID(req object.NewGetByID, target *object.GroupResponseSlice) error
- func (api *Api) GroupsGetLongPollServer(message object.GetServerMessage, target *object.ResponseInit) error
- func (api *Api) MessagesSend(message *object.Message) error
- func (api *Api) Method(methodName string, data map[string]string, target interface{}) error
- func (api *Api) Post(url string, data []byte, target interface{}) error
- func (api *Api) Request(methodName string, data interface{}, target interface{}) error
- func (api *Api) UsersGet(user object.UsersGetObject, target *object.UsersGetResponse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct { Token string Version string Url string Client *fasthttp.Client Encoder *schema.Encoder }
func (*Api) GroupsGetByID ¶
func (api *Api) GroupsGetByID( req object.NewGetByID, target *object.GroupResponseSlice, ) error
func (*Api) GroupsGetLongPollServer ¶
func (api *Api) GroupsGetLongPollServer( message object.GetServerMessage, target *object.ResponseInit, ) error
func (*Api) UsersGet ¶
func (api *Api) UsersGet( user object.UsersGetObject, target *object.UsersGetResponse, ) error
Click to show internal directories.
Click to hide internal directories.