feat: add premium animation into message struct

bot-api-6.1
temamagic 2022-06-20 05:13:22 +03:00
parent 4b88e970a1
commit 5063835088
1 changed files with 5 additions and 0 deletions

View File

@ -449,6 +449,11 @@ type Message struct {
// //
// optional // optional
Animation *Animation `json:"animation,omitempty"` 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; // Audio message is an audio file, information about the file;
// //
// optional // optional