Skip to content

Commit 5063835

Browse files
committed
feat: add premium animation into message struct
1 parent 4b88e97 commit 5063835

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

types.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,11 @@ type Message struct {
449449
//
450450
// optional
451451
Animation *Animation `json:"animation,omitempty"`
452+
// PremiumAnimation message is an animation, information about the animation.
453+
// For backward compatibility, when this field is set, the document field will also be set;
454+
//
455+
// optional
456+
PremiumAnimation *Animation `json:"premium_animation,omitempty"`
452457
// Audio message is an audio file, information about the file;
453458
//
454459
// optional

0 commit comments

Comments
 (0)