Skip to content

Commit

Permalink
media: remove omitempty flag from json tag in Sticker
Browse files Browse the repository at this point in the history
  • Loading branch information
demget committed Nov 19, 2023
1 parent 270e53b commit cd009a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ type Sticker struct {
MaskPosition *MaskPosition `json:"mask_position"`
PremiumAnimation *File `json:"premium_animation"`
Type StickerSetType `json:"type"`
CustomEmoji string `json:"custom_emoji_id,omitempty"`
CustomEmoji string `json:"custom_emoji_id"`
}

func (s *Sticker) MediaType() string {
Expand Down

0 comments on commit cd009a6

Please sign in to comment.