You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package api |
|
|
|
import ( |
|
"context" |
|
|
|
"github.com/RasmusLindroth/go-mastodon" |
|
) |
|
|
|
func (ac *AccountClient) Vote(poll *mastodon.Poll, choices ...int) (*mastodon.Poll, error) { |
|
return ac.Client.PollVote(context.Background(), poll.ID, choices...) |
|
}
|
|
|