feat(Message): add poll field (#1541)

This commit is contained in:
lon
2024-07-29 21:45:23 +09:00
committed by GitHub
parent d23158b3a3
commit 41a66e5f15

View File

@@ -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.