func (v Polls) DeleteVote(params PollsDeleteVoteParams) (bool, error) {
	r, err := v.API.Request("polls.deleteVote", params)
	if err != nil {
		return false, err
	}
	return decodeBoolIntResponse(r)
}
DeleteVote Deletes the current user's vote from the selected answer in the poll.
package vkapi
import (
	"encoding/json"
	"github.com/stek29/vk"
)
type Polls struct {
	API vk.API
}
type PollsGetByIDParams struct {
	OwnerID int `url:"owner_id,omitempty"`
	IsBoard bool `url:"is_board,omitempty"`
	PollID       int            `url:"poll_id"`
	Extended     bool           `url:"extended,omitempty"`
	FriendsCount int            `url:"friends_count,omitempty"`
	Fields       CSVStringSlice `url:"fields,omitempty"`
	NameCase     string         `url:"name_case,omitempty"`
}
type PollsGetByIDResponse vk.Poll
func (v Polls) GetByID(params PollsGetByIDParams) (*PollsGetByIDResponse, error) {
	r, err := v.API.Request("polls.getById", params)
	if err != nil {
		return nil, err
	}
	var resp PollsGetByIDResponse
	err = json.Unmarshal(r, &resp)
	if err != nil {
		return nil, err
	}
	return &resp, nil
}
type PollsAddVoteParams struct {
	OwnerID int `url:"owner_id,omitempty"`
	PollID    int         `url:"poll_id"`
	AnswerIDs CSVIntSlice `url:"answer_ids"`
	IsBoard   bool        `url:"is_board,omitempty"`
}
func (v Polls) AddVote(params PollsAddVoteParams) (bool, error) {
	r, err := v.API.Request("polls.addVote", params)
	if err != nil {
		return false, err
	}
	return decodeBoolIntResponse(r)
}
type PollsDeleteVoteParams struct {
	OwnerID int `url:"owner_id,omitempty"`
	PollID int `url:"poll_id"`
	AnswerID int  `url:"answer_id"`
	IsBoard  bool `url:"is_board,omitempty"`
}