feat: add premium animation into message struct
This commit is contained in:
parent
4b88e970a1
commit
5063835088
1 changed files with 5 additions and 0 deletions
5
types.go
5
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue