From 41a66e5f151f0f325cb7cf1e96974b567d5180d3 Mon Sep 17 00:00:00 2001 From: lon <10232002+lon9@users.noreply.github.com> Date: Mon, 29 Jul 2024 21:45:23 +0900 Subject: [PATCH] feat(Message): add poll field (#1541) --- 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.