mirror of
https://github.com/bwmarrin/discordgo.git
synced 2025-12-23 23:17:45 -05:00
feat(Message): add poll field (#1541)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user