From 5063835088bbbfbda31478e5aa1666b1a3a90519 Mon Sep 17 00:00:00 2001 From: temamagic Date: Mon, 20 Jun 2022 05:13:22 +0300 Subject: [PATCH] feat: add premium animation into message struct --- types.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types.go b/types.go index 2148dff..8b752da 100644 --- a/types.go +++ b/types.go @@ -449,6 +449,11 @@ type Message struct { // // optional Animation *Animation `json:"animation,omitempty"` + // PremiumAnimation message is an animation, information about the animation. + // For backward compatibility, when this field is set, the document field will also be set; + // + // optional + PremiumAnimation *Animation `json:"premium_animation,omitempty"` // Audio message is an audio file, information about the file; // // optional