Skip to content

Commit

Permalink
Set IsAnonymous poll param to pointer (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
srgustafson8 authored Apr 10, 2023
1 parent 574d0c6 commit 0832fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion methods_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ type SendPollParams struct {
MessageThreadID int `json:"message_thread_id,omitempty"`
Question string `json:"question"`
Options []string `json:"options"`
IsAnonymous bool `json:"is_anonymous,omitempty"`
IsAnonymous *bool `json:"is_anonymous,omitempty"`
Type string `json:"type,omitempty"`
AllowsMultipleAnswers bool `json:"allows_multiple_answers,omitempty"`
CorrectOptionID int `json:"correct_option_id"`
Expand Down

0 comments on commit 0832fa8

Please sign in to comment.