Skip to content

Commit

Permalink
feat(Message): add poll field (#1541)
Browse files Browse the repository at this point in the history
  • Loading branch information
lon9 committed Jul 29, 2024
1 parent d23158b commit 41a66e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions message.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ type Message struct {

// An array of StickerItem objects, representing sent stickers, if there were any.
StickerItems []*StickerItem `json:"sticker_items"`

// A poll object.
Poll *Poll `json:"poll"`
}

// UnmarshalJSON is a helper function to unmarshal the Message.
Expand Down

0 comments on commit 41a66e5

Please sign in to comment.