Skip to content

Commit

Permalink
feat(InteractionResponseData): add poll field
Browse files Browse the repository at this point in the history
  • Loading branch information
FedorLap2006 committed Apr 27, 2024
1 parent 9f757c7 commit 9adedf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions interactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ type InteractionResponseData struct {
AllowedMentions *MessageAllowedMentions `json:"allowed_mentions,omitempty"`
Files []*File `json:"-"`
Attachments *[]*MessageAttachment `json:"attachments,omitempty"`
Poll *Poll `json:"poll,omitempty"`

// NOTE: only MessageFlagsSuppressEmbeds and MessageFlagsEphemeral can be set.
Flags MessageFlags `json:"flags,omitempty"`
Expand Down

0 comments on commit 9adedf8

Please sign in to comment.