From 948a760e120b3f7fae628ddccf9f2eaffa3b2f4b Mon Sep 17 00:00:00 2001 From: lon9 Date: Tue, 9 Jul 2024 22:42:50 +0900 Subject: [PATCH] Add poll to Message. --- message.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/message.go b/message.go index 90db38f2e..16fedb36c 100644 --- a/message.go +++ b/message.go @@ -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.