Просмотр исходного кода

adds support for animated emojis (#496)

Sebastian Winkler 7 лет назад
Родитель
Сommit
e6ed3d579b
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      structs.go

+ 1 - 0
structs.go

@@ -203,6 +203,7 @@ type Emoji struct {
 	Roles         []string `json:"roles"`
 	Managed       bool     `json:"managed"`
 	RequireColons bool     `json:"require_colons"`
+	Animated      bool     `json:"animated"`
 }
 
 // APIName returns an correctly formatted API name for use in the MessageReactions endpoints.