forked from pothtonswer/discordmuffin
feat(Message): add poll field (#1541)
This commit is contained in:
parent
d23158b3a3
commit
41a66e5f15
1 changed files with 3 additions and 0 deletions
|
@ -153,6 +153,9 @@ type Message struct {
|
||||||
|
|
||||||
// An array of StickerItem objects, representing sent stickers, if there were any.
|
// An array of StickerItem objects, representing sent stickers, if there were any.
|
||||||
StickerItems []*StickerItem `json:"sticker_items"`
|
StickerItems []*StickerItem `json:"sticker_items"`
|
||||||
|
|
||||||
|
// A poll object.
|
||||||
|
Poll *Poll `json:"poll"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnmarshalJSON is a helper function to unmarshal the Message.
|
// UnmarshalJSON is a helper function to unmarshal the Message.
|
||||||
|
|
Loading…
Reference in a new issue